修改token不刷新问题

This commit is contained in:
lemon橪
2021-06-07 11:15:47 +08:00
parent 61273b78b9
commit b80b7205e9
7 changed files with 121 additions and 204 deletions

View File

@@ -367,6 +367,7 @@ export default {
},
},
mounted() {
const { windowHeight } = uni.getSystemInfoSync();
let bottomHeight = 0;
let topHeight = 0;

View File

@@ -197,13 +197,6 @@ export default {
this.$emit("queryCart");
this.closeMask();
} else {
uni.showToast({
title: res.data.message,
duration: 2000,
icon: "none",
});
return false;
}
});
} else {
@@ -226,13 +219,7 @@ export default {
)}`,
});
}
else{
uni.showToast({
title: res.data.message,
duration: 2000,
icon: "none",
});
}
});
}
},