谢杰标 преди 2 години
родител
ревизия
b88c92a986
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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) {