From a598f579e21d4dcc30b5d8fa1737f24f4dd90012 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 27 七月 2023 17:38:16 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/Tree/attrCrud.vue | 46 +++++++++++++++++++++++++++------------------- 1 files changed, 27 insertions(+), 19 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue index 6461664..1dd85a5 100644 --- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue +++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue @@ -372,25 +372,33 @@ } return ''; }, - ProData: { - handler(newVal, oldVal) { - if(this.initializing){ - newVal.forEach((item) => { - item.classifyInvokeText = { - "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr, - "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName, - "灞傜骇璁剧疆": item.classifyInvokeLevel, - "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag - }; - }); - } - this.ProData=newVal; - this.initializing = false; - console.log('ProData',this.ProData) - }, - deep: true, - immediate:true - }, + // ProData: { + // handler(newVal, oldVal) { + // if(this.initializing){ + // this.ProData = newVal.map((item) => { + // if (item.classifyInvokeAttr !=='') { // 妫�鏌lassifyInvokeText灞炴�ф槸鍚﹀瓨鍦� + // item = { + // ...item, + // classifyInvokeText: { + // classifyInvokeText: { + // "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr, + // "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName, + // "灞傜骇璁剧疆": item.classifyInvokeLevel, + // "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag + // } + // } + // } + // } + // return item; + // }); + // } + // this.initializing = false; + // console.log('ProData',this.ProData) + // console.log('newVal',newVal) + // }, + // deep: true, + // immediate:true + // }, }, data() { return { -- Gitblit v1.9.3