Commit f9710bfa by 施宇

h5zyly

parent 5269f0ae
...@@ -37,7 +37,8 @@ const actions = { ...@@ -37,7 +37,8 @@ const actions = {
const toast = Toast.loading({ const toast = Toast.loading({
message: '加载中...', message: '加载中...',
duration: 0, duration: 0,
forbidClick: true forbidClick: true,
loadingType: 'spinner'
}); });
state.zygoodDetail = {}; state.zygoodDetail = {};
state.lygoodDetail = {}; state.lygoodDetail = {};
......
...@@ -116,6 +116,9 @@ export default { ...@@ -116,6 +116,9 @@ export default {
isShowAlert(now) { isShowAlert(now) {
if (now) { if (now) {
this.detailsData = { isShow: false, id: "" }; this.detailsData = { isShow: false, id: "" };
this.$store.dispatch({
type: "cartCount"
});
} }
}, },
supplierList(val) { supplierList(val) {
......
...@@ -264,6 +264,9 @@ export default { ...@@ -264,6 +264,9 @@ export default {
isShowAlert(now) { isShowAlert(now) {
if (now) { if (now) {
this.detailsData = { isShow: false, id: "" }; this.detailsData = { isShow: false, id: "" };
this.$store.dispatch({
type: "cartCount"
});
} }
}, },
loading(now) { loading(now) {
......
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 sign in to comment