【新增】增加首页【弹窗广告】开关,通过后台【商城设置】【平台设置】【特殊开关】开启和关闭。

This commit is contained in:
大灰灰
2022-09-25 20:00:48 +08:00
parent 8dad2e8bad
commit 772a8cebf0
5 changed files with 26 additions and 3 deletions

View File

@@ -47,12 +47,16 @@
shareUrl: this.$globalConstVars.shareUrl,
isScorll: false,
homeTitle: '',
modalShow: true,
modalShow: false
};
},
updated() {
this.copy = true;
},
mounted() {
console.log(this.$store.state.config.showIndexPopupWindow);
this.modalShow = this.$store.state.config.showIndexPopupWindow == 1;
},
computed: {
...mapState({
hasLogin: state => state.hasLogin,