diff --git a/utils/http.js b/utils/http.js index a3661d9..f5ab0ea 100644 --- a/utils/http.js +++ b/utils/http.js @@ -77,7 +77,7 @@ export const http = (options) => { } - if (result.data.code === 400) { + if (result.data.code === 10003) { const userStore = useUserStore() uni.showModal({ title: "登录失效",