谢杰标 před 2 roky
rodič
revize
b88c92a986
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      pages/webview/index.vue

+ 3 - 1
pages/webview/index.vue

@@ -56,7 +56,9 @@ export default {
       return;
     }
     // #ifdef H5
-    this.options.scene = window.atob(this.options.scene);
+    if (this.options.scene) {
+      this.options.scene = window.atob(this.options.scene);
+    }
     // #endif
 
     if (this.options.scene) {