From 7d26ed0e19bf952e7c037b21bfd687759b46e851 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 25 六月 2024 19:21:33 +0800
Subject: [PATCH] 菜单更新

---
 src/views/tigerprojects/system/lowcode/entityts/BAS_PKG_DTL.ts |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/BAS_PKG_DTL.ts b/src/views/tigerprojects/system/lowcode/entityts/BAS_PKG_DTL.ts
index 594f4d1..f6ddad1 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/BAS_PKG_DTL.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/BAS_PKG_DTL.ts
@@ -4,13 +4,13 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-06-25 12:23:19
+ * @LastEditTime: 2024-06-25 18:30:25
  */
 
 import { Ref } from 'vue';
 import { DeleteEntity, getEntity } from '/@/api/tigerapi/system';
 import { ActionItem, BasicColumn } from '/@/components/Table';
-import { isNullOrEmpty } from '/@/utils/is';
+import { isNullOrEmpty, isNullOrUnDef } from '/@/utils/is';
 import { buildUUID } from '/@/utils/uuid';
 import { useUserStore } from '/@/store/modules/user';
 import { formatToDateTime } from '/@/utils/dateUtil';
@@ -66,7 +66,9 @@
      */
     ActionItem: (params: Recordable<any>, data, ...args): ActionItem[] => {
       /* 閲嶅啓鍒犻櫎鏂规硶 */
-      data[1].popConfirm.confirm = custDel.bind(null, args, params);
+      if (!isNullOrUnDef(data[1])) {
+        data[1].popConfirm.confirm = custDel.bind(null, args, params);
+      }
       return data;
     },
     /**
@@ -108,6 +110,10 @@
         data.value = _data2;
       }
     },
+    /**
+     * @description: 楂樼骇琛ㄥ崟鍜岃鎯呴〉闈㈣繑鍥炰富椤甸潰鐨剈rl
+     * @return {*}
+     */  
     GetHomeUrl: () => {
       return `/BAS_PKG_RULE/LC/${encodeURI(JSON.stringify({ ID: 'BAS_PKG_RULE', colSlots: [], crudColSlots: [] }))}`;
     },

--
Gitblit v1.9.3