From 4b74506744fcaea65c041ac3f241c85817b0a004 Mon Sep 17 00:00:00 2001 From: Iruka <1017819588@qq.com> Date: Wed, 8 Jan 2025 12:42:53 +0800 Subject: [PATCH] . --- pages/mine/index.vue | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 20eb540..c1afeae 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -17,11 +17,14 @@ - + - 系统管理员(系统管理员) - 15232658595 - 浙江及时雨智能灌溉设备有限责任公司 + + {{ user.userName }} + ({{user.role.roleName}}) + + {{user.mobilePhone}} + {{user.company.companyName}} @@ -117,7 +120,7 @@ ref } from "vue"; import config from '@/config.js' - const name = store.state.user.name; + const user = store.state.user.user; const version = config.appInfo.version; const avatar = ref(store.state.user.avatar); const windowHeight = ref(uni.getSystemInfoSync().windowHeight - 50); @@ -127,13 +130,6 @@ avatar.value = store.state.user.avatar; }) - //有无菜单权限 - function setAuthorizationt(name) { - // console.log(rolses) - // return rolses.findIndex(item => item.children[0].name == name) > -1 - - return true; - } //页面跳转 function toPage(type) { switch (type) {