基础接口对接
This commit is contained in:
@@ -137,6 +137,7 @@ export default {
|
||||
this.userInfo.role = e.index + 1
|
||||
uni.setStorageSync('userInfo', {
|
||||
role: e.index + 1,
|
||||
id: 1,
|
||||
})
|
||||
let roleName = ''
|
||||
switch (e.index + 1) {
|
||||
@@ -247,6 +248,7 @@ export default {
|
||||
if (!this.userInfo) {
|
||||
this.userInfo = {
|
||||
role: 4,
|
||||
id: 1,
|
||||
}
|
||||
uni.setStorageSync('userInfo', {
|
||||
role: 4,
|
||||
|
||||
Reference in New Issue
Block a user