Commit 4034c167 by 穆启卓

关闭去小程序弹框就刷新数据

parent b603bd7e
...@@ -173,6 +173,7 @@ export default { ...@@ -173,6 +173,7 @@ export default {
created() { created() {
this.getPageData(); this.getPageData();
this.isPopup(); this.isPopup();
// 支付成功弹框
if (sessionStorage.getItem("userHavePaidGame") === "true") { if (sessionStorage.getItem("userHavePaidGame") === "true") {
sessionStorage.setItem("userHavePaidGame", "false"); sessionStorage.setItem("userHavePaidGame", "false");
this.userHavePaidGame = true; this.userHavePaidGame = true;
...@@ -202,6 +203,10 @@ export default { ...@@ -202,6 +203,10 @@ export default {
}, },
methods: { methods: {
changeXcxPopup() { changeXcxPopup() {
if (this.showXcxPopup) {
this.getPageData();
this.isPopup();
}
this.showXcxPopup = !this.showXcxPopup; this.showXcxPopup = !this.showXcxPopup;
}, },
joinNextGame() { joinNextGame() {
......
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