From ecefac352fc75b4ba8fa1b6c78bd10eba7cfec60 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 5 Nov 2025 10:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/history/newHistory.vue | 2 +- src/views/history/oldHistory.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/history/newHistory.vue b/src/views/history/newHistory.vue index 364fc75..a0626fa 100644 --- a/src/views/history/newHistory.vue +++ b/src/views/history/newHistory.vue @@ -56,7 +56,7 @@ const defaultTime = [ new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59), ] -const canLook = ref(hasMenuPermission(menuTree.value, permissionMapping.new_version_gold_query)) +const canLook = ref(findMenuById(menuTree.value, permissionMapping.new_version_gold_query)) const tableData = ref([]) const dateRange = ref([]) const searchObj = ref({ diff --git a/src/views/history/oldHistory.vue b/src/views/history/oldHistory.vue index 85477a6..ed34232 100644 --- a/src/views/history/oldHistory.vue +++ b/src/views/history/oldHistory.vue @@ -52,7 +52,7 @@ const defaultTime = [ new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59), ] -const canLook = ref(hasMenuPermission(menuTree.value, permissionMapping.old_version_gold_query)) +const canLook = ref(findMenuById(menuTree.value, permissionMapping.old_version_gold_query)) const tableData = ref([]) const dateRange = ref([]) const searchObj = ref({