feat: bug fix
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "商城",
|
||||
"appid" : "__UNI__4143309",
|
||||
"appid" : "__UNI__A2B711F",
|
||||
"description" : "基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。",
|
||||
"versionName" : "2025.09",
|
||||
"versionCode" : "183",
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
import SelectPic from '@/pages/uploadClothes/SelectPic.vue';
|
||||
import { pattern } from '@/sheep/store/fittingRoom';
|
||||
import FittingRoomApi from '../../sheep/api/fittingRoom';
|
||||
import { getAccessToken } from '@/sheep/request';
|
||||
|
||||
const fittingRoomStore = sheep.$store('fittingRoom');
|
||||
|
||||
@@ -75,14 +76,16 @@
|
||||
isUpdate: isEdit ? true : undefined,
|
||||
})
|
||||
.then((res) => {
|
||||
sheep.$router.redirect('/pages/fittingRoom/index');
|
||||
// sheep.$router.redirect('/pages/fittingRoom/index');
|
||||
sheep.$router.redirect(`/pages/fittingRoom/index?token=${getAccessToken()}`);
|
||||
});
|
||||
}
|
||||
|
||||
function deleteClothes() {
|
||||
FittingRoomApi.deleteCloth({ id: clothesId.value }).then((res) => {
|
||||
fittingRoomStore.currentClothes = [];
|
||||
sheep.$router.redirect('/pages/fittingRoom/index');
|
||||
// sheep.$router.redirect('/pages/fittingRoom/index');
|
||||
sheep.$router.redirect(`/pages/fittingRoom/index?token=${getAccessToken()}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user