浏览代码

fix: 角色标识

xuyunhui 1 年之前
父节点
当前提交
bfd77380c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -47,7 +47,7 @@
 			this.userInfo = uni.getStorageSync('spreadUserInfo')
 
 			this.isManager = this.userInfo.isManager
-			this.roleTag = '0'
+			this.roleTag = this.userInfo.roleTag
       console.log(this.isManager,'类型',this.roleTag )
 		},
 		methods: {