From a5453cb3440e4536b5d5dc5e74e48df482836065 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 08 十二月 2023 12:08:33 +0800 Subject: [PATCH] 码段新增和修改时限制层级类型为最小层级时,层级的值不可输入,并且校验只能输入数字 --- Source/UBCS-WEB/src/components/refer/vciWebReferTree.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferTree.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferTree.vue index f1ac96e..f1a8c0d 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferTree.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferTree.vue @@ -188,7 +188,7 @@ this.checkedData=checkedData var value = []; var text = []; - const textSep =this.config.textSep;debugger; + const textSep =this.config.textSep; for(var j =0;j<checkedData.checkedNodes.length;j++){ const item=checkedData.checkedNodes[j]; var v=this.config.valueField.indexOf("attribute.")>=0?(item.attributes[this.config.valueField.replace("attribute.","")] || item.attributes.data[this.config.valueField.replace("attribute.","")]):(item.attributes[this.config.valueField] || item[this.config.valueField] || item.attributes.data[this.config.valueField]) @@ -223,8 +223,7 @@ fieldMap:mapFields }); } - }, - watch:{} + } } </script> -- Gitblit v1.9.3