@@ -52,6 +52,7 @@
placeholder="请输入关键字搜索"
:remote-method="fetchMain"
:loading="loadingMain"
+ @change="handleMainChange"
size="small"
style="width: 180px"
>
@@ -258,6 +259,9 @@ export default {
});
},
methods: {
+ handleMainChange(value) {
+ this.queryParams.mainId = value;
+ },
async fetchMain(query) {
if (!query) {
return;