1
This commit is contained in:
parent
c038b04d40
commit
33debf60e6
@ -209,9 +209,9 @@
|
|||||||
method: 'get'
|
method: 'get'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.schoolInfo = res.schoolInfo
|
this.schoolInfo = res.data.schoolInfo
|
||||||
uni.setStorageSync("roles", res.roles)
|
uni.setStorageSync("roles", res.data.roles)
|
||||||
uni.setStorageSync("deptId", res.schoolInfo.deptId)
|
uni.setStorageSync("deptId", res.data.schoolInfo.deptId)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user