From b622240c401adee34990fad330bd76af310eb6fe Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 05 Feb 2026 10:31:56 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web
---
applications/mobile-web-view/src/appPages/work/usePermission.js | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/applications/mobile-web-view/src/appPages/work/usePermission.js b/applications/mobile-web-view/src/appPages/work/usePermission.js
index b62b2bf..b91f981 100644
--- a/applications/mobile-web-view/src/appPages/work/usePermission.js
+++ b/applications/mobile-web-view/src/appPages/work/usePermission.js
@@ -1,5 +1,5 @@
import { ref, computed } from 'vue'
-import { getButtons } from '/src/api/work/index.js'
+// import { getButtons } from '/src/api/work/index.js'
// 权限相关的组合式函数
export function usePermission() {
@@ -32,17 +32,17 @@
}
// 获取权限数据
- const getButtonsApi = () => {
- return new Promise((resolve, reject) => {
- getButtons({ sysType: 1 })
- .then(res => {
- const data = res.data.data
- permission.value = extractPermissionCodes(data)
- resolve(permission.value)
- })
- .catch(reject)
- })
- }
+ // const getButtonsApi = () => {
+ // return new Promise((resolve, reject) => {
+ // getButtons({ sysType: 1 })
+ // .then(res => {
+ // const data = res.data.data
+ // permission.value = extractPermissionCodes(data)
+ // resolve(permission.value)
+ // })
+ // .catch(reject)
+ // })
+ // }
return {
permission,
--
Gitblit v1.9.3