Commit d253080f authored by 徐光星's avatar 徐光星

Merge branch 'feat/fix' into 'master'

Feat/fix

See merge request !112
parents cb48ffd3 e68461ab
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
const [res, err] = await api.getShopCartCount(); const [res, err] = await api.getShopCartCount();
this.cartCount = err ? 0 : res.count || 0; this.cartCount = err ? 0 : res.count || 0;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.crBackTop.$forceUpdate(); if (this.$refs.crBackTop) this.$refs.crBackTop.$forceUpdate();
}); });
} }
}, },
......
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