Commit 7890af85 authored by chenqikuai's avatar chenqikuai

fix

parent 3ec4efbb
......@@ -15,7 +15,10 @@ const baseAxios = axios.create({
baseAxios.interceptors.response.use(
(value: AxiosResponse<iRet>) => {
const ret = value.data
if (ret.code !== undefined && ret.code !== 200) {
if(ret.code === 3000){
}
else if (ret.code !== undefined && ret.code !== 200) {
if ([504, 503].includes(ret.code)) {
const role = getUserMsg()?.newRole
window.localStorage.clear()
......
......@@ -712,6 +712,8 @@ export default Vue.extend({
console.log(position[0], position[1]);
this.formData.lo = position[0];
this.formData.la = position[1];
}else{
message.warn('现详细地址输入有误')
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment