Commit f9710bfa by 施宇

h5zyly

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