fix(关注/足迹): 优化交互逻辑

This commit is contained in:
2026-01-07 11:35:28 +08:00
parent d1b9e528f8
commit 8df59abd03
11 changed files with 111 additions and 31 deletions

View File

@@ -1,4 +1,7 @@
import common from './common.js';
export default {
mixins: [common],
data() {
return {
cartData: [], // 购物车
@@ -444,9 +447,6 @@ export default {
// });
}
},
toLogin() {
this.$refs.login.open();
},
// 重置编辑状态
resetEditStatus() {
if (this.cartData.length) {

View File

@@ -0,0 +1,8 @@
export default {
methods: {
// 跳转至登录页
toLogin() {
this.$refs.login.open();
},
}
}