This commit is contained in:
rou
2026-03-25 18:13:35 +08:00
parent d5ff59ac76
commit acb1445575
3 changed files with 65 additions and 25 deletions

View File

@@ -12,6 +12,9 @@ new Vue({
// 任务:
// 1. 切换 isCollected
// 2. 在控制台输出最新收藏状态
this.isCollected = !this.isCollected
console.log(this.isCollected);
},
},
});