更新
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user