Commit fd8bb0bf authored by guang.wu's avatar guang.wu

feat: 添加日志

parent 24c8a696
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
backTopList: { backTopList: {
immediate: true, immediate: true,
handler(val) { handler(val) {
console.log('backTopList val :>> ', val);
this.cartIndex = (val || []).findIndex(item => item.persets === '购物车'); this.cartIndex = (val || []).findIndex(item => item.persets === '购物车');
this.getCartCountDebounce(); this.getCartCountDebounce();
} }
...@@ -104,6 +105,7 @@ export default { ...@@ -104,6 +105,7 @@ export default {
this.getCartCountDebounce(); this.getCartCountDebounce();
} }
}); });
console.log('this.backTopList :>> ', this.backTopList);
}, },
methods: { methods: {
......
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