Explorar o código

app交互函数命名修改

liyongli %!s(int64=3) %!d(string=hai) anos
pai
achega
fd5cbbabad
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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() {
-    window.$privacy = html => {
+    window.privacy = html => {
       this.content = html;
     };
     this.$pageParams = currentUrlToParams();

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

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