基础接口对接

This commit is contained in:
仲么了
2023-05-25 10:10:22 +08:00
parent cca66bab21
commit e9b1e9a417
11 changed files with 579 additions and 171 deletions

View File

@@ -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,