Browse Source

跳转微信小程序

hwb0 3 năm trước cách đây
mục cha
commit
0a0932a0f9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      public/jump.html
  2. 1 1
      src/permission.js

+ 1 - 1
public/jump.html

@@ -171,7 +171,7 @@
     <div class="skip-theme" id="container-tip"></div>
     <div class="skip-btn">
       <p onclick="openWeapp()" id="container"></p>
-      <p onclick="openWx()" id="container-wx"></p>
+      <p onclick="openWeapp()" id="container-wx"></p>
     </div>
   </div>
 </body>

+ 1 - 1
src/permission.js

@@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth'
 
 NProgress.configure({ showSpinner: false })
 
-const whiteList = ['/login', '/auth-redirect', '/bind', '/register', '/skip']
+const whiteList = ['/login', '/auth-redirect', '/bind', '/register', '/skip', '/jump']
 
 router.beforeEach((to, from, next) => {
   NProgress.start()