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

This commit is contained in:
2026-01-07 11:31:52 +08:00
parent 09c49365a3
commit aa2f13f3b2
10 changed files with 82 additions and 37 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();
},
}
}