Commit 94309d24 authored by lvtz's avatar lvtz

fix

parent b7352e39
......@@ -170,7 +170,8 @@ Page({
wx.stopPullDownRefresh();
if (res.code == 40000){
this.setData({
tipMsg: res.msg,
// tipMsg: res.msg,
tipMsg: "无操作权限,请联系管理员添加",
modalTip: true
})
return
......
......@@ -20,7 +20,8 @@ import {
} from '../../../service/business/integral.js';
import {
studentidentity
} from '../../../service/customer/signup.js'
} from '../../../service/customer/signup.js';
import permissionUtils from '../../../utilities/permission.js';
var app = getApp();
Page({
......@@ -61,6 +62,7 @@ Page({
sid,
my
})
permissionUtils.myMenulistGet(sid);
// this.getExchangeUser();
},
......
......@@ -8,11 +8,11 @@ page{
.header-box {
display: flex;
align-items: center;
justify-content: space-around;
justify-content: center;
padding: 40rpx 0 36rpx;
}
.btnitem {
width: 120rpx;
width: 150rpx;
/* display: flex; */
text-align: center;
}
......
......@@ -12,7 +12,6 @@ function myMenulistGet(sid){
school_id: sid
}).then(res=>{
const {code,data} = res;
console.log(res)
LocalStorage.setItem('permission',data.list)
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment