Fix:3880 【商城小程序】搜索界面-增加商品到购物车,红点提示未及时同步更新数量
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
:cartNum="cart_num"
|
||||
:showOk="true"
|
||||
@changeFun="changeFun"
|
||||
@ok="handleOk(getCartCount())"
|
||||
@ok="handleOk(() => this.getCartCount())"
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
@@ -188,9 +188,6 @@ import NP from 'number-precision'
|
||||
import NoGoodData from '@/components/good/NoData'
|
||||
import Recommend from '@/components/Recommend'
|
||||
import goCartMixin from '@/mixins/goCartMixins'
|
||||
import {
|
||||
getCartCount,
|
||||
} from '@/api/store'
|
||||
export default {
|
||||
name: 'GoodsList',
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user