From a4a7426f1286c8d8afe512f155fb650e3e8b940c Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 02 十二月 2024 17:57:43 +0800
Subject: [PATCH] 整合代码&&表单定义扩展属性添加提示文字&&显示类型修改默认值和绑定值

---
 Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js b/Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js
index d63fb9d..49e066a 100644
--- a/Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js
+++ b/Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js
@@ -51,11 +51,10 @@
     }
   }
   paramVOS.component=component;
-  let name="鏌ョ湅璇︽儏"
   if(paramVOS.showname){
-    name="鏌ョ湅銆�"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"銆�"
+    const name="鏌ョ湅銆�"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"銆�"
+    paramVOS.title=name;
   }
-  paramVOS.title=name;
   const dialogConstructor = Vue.extend(ViewDialog);
   let instance = new dialogConstructor();
   instance.sourceData = options.sourceData;

--
Gitblit v1.9.3