谢杰标 il y a 2 ans
Parent
commit
b88c92a986
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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) {