From a5a49ece3191bf8210c42b522503687cedb420c2 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期二, 26 十二月 2023 16:55:40 +0800 Subject: [PATCH] 修改input通过光标焦点是否在input内控制是否更新数据,回车下发参数让input失去焦点更新数据 --- CanadaMes-ui/src/layout/index.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CanadaMes-ui/src/layout/index.vue b/CanadaMes-ui/src/layout/index.vue index 7a0c9e5..cf312f9 100644 --- a/CanadaMes-ui/src/layout/index.vue +++ b/CanadaMes-ui/src/layout/index.vue @@ -258,12 +258,9 @@ - this.$forceUpdate(); + if(obj.Abort){ - - - if (obj.Abort[0].length > 0) { this.receivedData=obj.Abort[0][0]; @@ -271,6 +268,7 @@ this.dialogFormVisible3 = true; } } + this.$forceUpdate(); }.bind(this); //鍏抽棴浜嬩欢 -- Gitblit v1.8.0