This commit is contained in:
PQZ 2024-08-28 16:56:47 +08:00
parent fa30cbfaf0
commit c038b04d40
2 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@
</view>
</view>
<view class="con">
<u-empty mode="list" v-if="courseList.length == 0">
<!-- <u-empty mode="list" v-if="courseList.length == 0"> -->
</u-empty>
<view class="f-box" v-for="(item,index) in courseList" :key="index">
<view class="f-top">{{item.createTime}}</view>
@ -205,10 +205,10 @@
},
getUserInfo() {
request({
url: '/getJxInfo',
url: '/jx/auth/getJxInfo',
method: 'get'
}).then((res) => {
if (res.code == 200) {
if (res.code == 0) {
this.schoolInfo = res.schoolInfo
uni.setStorageSync("roles", res.roles)
uni.setStorageSync("deptId", res.schoolInfo.deptId)
@ -220,7 +220,7 @@
url: '/drivingSchool/system/reservationCourse/applet/getHomeData',
method: 'get'
}).then((res) => {
if (res.code == 200) {
if (res.code == 0) {
this.dataInfo = res.data
}
})

View File

@ -149,7 +149,7 @@
data: this.appuser
}).then((res) => {
if (res.code == 0) {
uni.setStorageSync("App-Token", res.data.token)
uni.setStorageSync("App-Token", res.data.accessToken)
uni.setStorageSync("loginType", this.tabindex)
if (this.tabindex == 0) {