This commit is contained in:
PQZ 2024-08-28 17:10:54 +08:00
parent c038b04d40
commit 33debf60e6

View File

@ -209,9 +209,9 @@
method: 'get'
}).then((res) => {
if (res.code == 0) {
this.schoolInfo = res.schoolInfo
uni.setStorageSync("roles", res.roles)
uni.setStorageSync("deptId", res.schoolInfo.deptId)
this.schoolInfo = res.data.schoolInfo
uni.setStorageSync("roles", res.data.roles)
uni.setStorageSync("deptId", res.data.schoolInfo.deptId)
}
})
},