liu.shiyi 10 сар өмнө
parent
commit
591e9e32dd

+ 5 - 2
data-room-ui/example/App.vue

@@ -74,8 +74,11 @@ export default {
       })
     },
     out () {
-      window.close()
-      // window.location.href = 'about:blank'
+      try {
+        window.close()
+      } catch (e) {
+        window.location.href = 'about:blank'
+      }
     },
     agree () {
       sessionStorage.setItem('disclaimer', 'read ')