This commit is contained in:
xiaozhiyong
2023-02-24 17:12:47 +08:00
parent b66f88ac17
commit 51aa12621d
15 changed files with 848 additions and 107 deletions

View File

@@ -44,10 +44,13 @@ export default {
watch: {
"config.echoId": {
handler(nval, oval) {
if (nval) {
this.remoteMethod(this.config.echoName);
}
this.list = [];
this.isDisabled = !!this.config.isDisabled;
if (nval) {
let resultName = this.config.echoName.replace(/\s*/g, "");
if (!resultName) return;
this.remoteMethod(resultName);
}
},
deep: true,
immediate: true,