|
@@ -99,14 +99,12 @@ const searchHandler = async (_params) => {
|
|
|
//提示
|
|
|
return;
|
|
|
}
|
|
|
- const loadingHide = message.loading('loading...', 0);
|
|
|
|
|
|
if (!_params) {
|
|
|
if(postEditorConfig.inputUrlBlackList && postEditorConfig.inputUrlBlackList.length) {
|
|
|
for(let i = 0; i < postEditorConfig.inputUrlBlackList.length; i++) {
|
|
|
let url = postEditorConfig.inputUrlBlackList[i];
|
|
|
if(siteUrl.value.startsWith(url)) {
|
|
|
- loadingHide();
|
|
|
message.info('This site is not supported');
|
|
|
return;
|
|
|
}
|
|
@@ -144,7 +142,6 @@ const searchHandler = async (_params) => {
|
|
|
currentApp
|
|
|
};
|
|
|
|
|
|
- loadingHide();
|
|
|
emits('changeShowCom', params)
|
|
|
}
|
|
|
|