新增衣服设置优先级,相同衣服id导致优先级相同问题
This commit is contained in:
@@ -337,19 +337,19 @@ export default defineComponent({
|
||||
let isTest = getCookie('isTest')
|
||||
// console.log(getCookie("token"));
|
||||
if(JSON.parse(isTest)){
|
||||
Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
||||
await Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
||||
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
this.$router.replace("/login");
|
||||
WriteCookie("token");
|
||||
});
|
||||
})
|
||||
}else{
|
||||
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
await Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
this.$router.replace("/login");
|
||||
WriteCookie("token");
|
||||
});
|
||||
}
|
||||
|
||||
window.location.reload()
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user