Commit 6286bf08 authored by jyx's avatar jyx

延迟更新收藏状态

parent c8594842
...@@ -29,8 +29,9 @@ ...@@ -29,8 +29,9 @@
this.initData(); this.initData();
// 监听收藏变动 // 监听收藏变动
watchCollectionChange(() => { watchCollectionChange(() => {
console.log('LLLLLLLLLLLLLLLL') setTimeout(() => {
this.refreshCollect(); this.refreshCollect();
}, 1000)
}, this); }, this);
}, },
onShow() { onShow() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment