From 353efff194122e281925a390be5d576c2f4fff6d Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期三, 27 三月 2024 18:04:04 +0800 Subject: [PATCH] UI上下文展示引擎 --- Source/ProjectWeb/src/components/dynamic-components/dynamic-custom.vue | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-custom.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-custom.vue index 40c33d6..5d85586 100644 --- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-custom.vue +++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-custom.vue @@ -3,10 +3,11 @@ <div v-if="isError" style="color: #F56C6C">杩欎釜鑷畾涔夐〉闈㈢殑鍦板潃鏍煎紡涓嶆纭�傛帹鑽愪娇鐢║I:type#content?param=xxx杩欑褰㈠紡</div> <component v-else :is="currentComponent" :customOptions="customOptions" - :inDialog="inDialog" + :inDialog="true" :key="areasName+'customCom-'+componentVO.oid" :componentVO="componentVO" :sourceData="sourceData" + :dataStore="dataStore" :areasName="areasName" :paramVOS="paramVOS"></component> </div> @@ -38,6 +39,11 @@ type:Object, default: {} }, + dataStore:{ + //寮圭獥鏃舵寜閽墍灞炲尯鍩熼�変腑鏁版嵁 + type:Array, + default: [] + }, paramVOS:{ type:Object, default: {} @@ -56,6 +62,14 @@ currentComponent: 'UI',//缁勪欢name } }, + watch:{ + sourceData:{ + handler(newval) { + console.log(this.areasName); + console.log(newval); + } + } + }, computed:{ customOptions() { if(this.customClass.indexOf(":") <0){ -- Gitblit v1.9.3