From 858b9bccead46cdefc99325b7c956d50a2964309 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期六, 08 三月 2025 10:20:28 +0800
Subject: [PATCH] 一些优化

---
 src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts b/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
index 0ffb047..06b1ecb 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/V_BAS_PROD_R.ts
@@ -4,10 +4,11 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-10-15 21:23:10
+ * @LastEditTime: 2024-10-22 10:59:39
  */
 
 import { ActionItem, BasicColumn } from '/@/components/Table';
+import { useProdRouteStore } from '/@/store/modules/prodRoute';
 
 function _default() {
   const ActionColumn: BasicColumn = {
@@ -81,6 +82,9 @@
     // 灏嗗璞¤浆鎹负JSON瀛楃涓插苟淇濆瓨鍒皊essionStorage
     sessionStorage.removeItem(`${id.SessionName}_params`);
     sessionStorage.setItem(`${id.SessionName}_params`, encodeURI(JSON.stringify(id)));
+    /* 璁剧疆鏍囧織锛屼互鏍规嵁缂撳瓨鏁版嵁鍙栨暟鎹� */
+    const useProdRoute = useProdRouteStore();
+    useProdRoute.setChangeToCPPage(true);
     go(`/ProdRouteBinding/CP/${encodeURI(JSON.stringify({ sName: id.SessionName, Name: id.Name }))}`);
   }
   return [methods, ActionColumn];

--
Gitblit v1.9.3