谢杰标 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) {