This commit is contained in:
pushuo 2022-11-26 19:38:45 +08:00 committed by Edward Yang
parent b5db580ee5
commit 6f5147edb8
4 changed files with 3 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,6 @@
size="small"
:fetch-suggestions="querySearch"
placeholder="{{ __('admin/builder.modules_keywords_search') }}"
:trigger-on-focus="false"
:highlight-first-item="true"
@select="handleSelect"
></el-autocomplete>
@ -119,10 +118,6 @@ Vue.component('module-editor-tab-product', {
},
querySearch(keyword, cb) {
if (!keyword) {
return;
}
$http.get('products/autocomplete?name=' + encodeURIComponent(keyword), null, {hload:true}).then((res) => {
cb(res.data);
})