lsc 2 years ago
parent
commit
1ed12c3863
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/pages/dataGM.vue

+ 1 - 1
src/components/pages/dataGM.vue

@@ -296,7 +296,7 @@ export default {
             message: "修改成功",
             type: "success",
           });
-          window.parent.postMessage({ close: "1" }, "*");
+          window.opener.postMessage({ close: "1" }, "*");
           this.getUser();
         })
         .catch((err) => {