show errors when search failed;

This commit is contained in:
huangjx
2022-02-27 14:28:56 +08:00
parent f9169240de
commit 3ff0f786f3
6 changed files with 55 additions and 11 deletions

View File

@@ -96,6 +96,10 @@ export default {
tableInst.rowClass = "table-row-search";
tableInst.create();
}
if (data.error) {
helper.resetSearch(vm);
helper.error(data.error);
}
})
.send();
},