Forráskód Böngészése

app交互函数命名修改

liyongli 3 éve
szülő
commit
fd5cbbabad
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      src/pages/privacy/Index.vue
  2. 1 1
      src/pages/userProtocol/Index.vue

+ 1 - 1
src/pages/privacy/Index.vue

@@ -27,7 +27,7 @@ export default {
     }
     }
   },
   },
   mounted() {
   mounted() {
-    window.$privacy = html => {
+    window.privacy = html => {
       this.content = html;
       this.content = html;
     };
     };
     this.$pageParams = currentUrlToParams();
     this.$pageParams = currentUrlToParams();

+ 1 - 1
src/pages/userProtocol/Index.vue

@@ -27,7 +27,7 @@ export default {
     }
     }
   },
   },
   mounted() {
   mounted() {
-    window.$userProtocol = html => {
+    window.userProtocol = html => {
       this.content = html;
       this.content = html;
     };
     };
     this.$pageParams = currentUrlToParams();
     this.$pageParams = currentUrlToParams();