From 2a407bd702a7317e2ecf41065c89f457a1d1540e Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 28 Aug 2024 16:05:04 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 749e925..a8f4b92 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -169,7 +169,7 @@ url: '/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) @@ -181,7 +181,7 @@ url: '/drivingSchool/system/reservationCourse/applet/getHomeData', method: 'get' }).then((res) => { - if (res.code == 200) { + if (res.code == 0) { this.dataInfo = res.data } })