From a485f4494787001a2695863e239910c019a52246 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 05 十二月 2024 20:47:40 +0800
Subject: [PATCH] 表单\表格定义保存对象转换逻辑修改。UI数据查询接口修改

---
 Source/plt-web/plt-web-ui/src/permission.js |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/permission.js b/Source/plt-web/plt-web-ui/src/permission.js
index fd61203..0d56c1f 100644
--- a/Source/plt-web/plt-web-ui/src/permission.js
+++ b/Source/plt-web/plt-web-ui/src/permission.js
@@ -27,13 +27,9 @@
          })
        } else {
          const value = to.query.src || to.fullPath;
-         const label = to.query.name || to.name;
+         const label = to.query.name ||to.params.title|| to.name;
          const meta = to.meta || router.$avueRouter.meta || {};
          const i18n = to.query.i18n;
-         if(to.query.name){
-           //淇敼璺敱鏍囬
-           meta.title=to.query.name;
-         }
          if (to.query.target) {
            window.open(value)
          } else if (meta.isTab !== false && !validatenull(value) && !validatenull(label)) {

--
Gitblit v1.9.3