Browse Source

fix: Share pwd

lejianwen 9 months ago
parent
commit
60d0a701ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/web2/js/dist/ljw.js

+ 1 - 1
resources/web2/js/dist/ljw.js

@@ -46,7 +46,7 @@ if (share_token) {
46 46
                 password: peer.tmppwd,
47 47
             }*/
48 48
             //修改location
49
-            window.location.href = `/webclient2/#/${peer.info.id}?password=${peer.tmppwd}`
49
+            window.location.href = `/webclient2/#/${peer.info.id}?password=${encodeURIComponent(peer.tmppwd)}`
50 50
         }
51 51
     })
52 52
 }