瀏覽代碼

Merge branch 'master' of http://git.ycjcjy.com/state_grid/training-wx

[baozhangchao] 3 年之前
父節點
當前提交
ee45902986
共有 2 個文件被更改,包括 8 次插入7 次删除
  1. 0
    1
      src/main.js
  2. 8
    6
      src/router/index.js

+ 0
- 1
src/main.js 查看文件

29
 const queryPath = getQueryPath()
29
 const queryPath = getQueryPath()
30
 if (queryPath) {
30
 if (queryPath) {
31
   window.location.href = queryPath
31
   window.location.href = queryPath
32
-  return
33
 }
32
 }
34
 
33
 
35
 
34
 

+ 8
- 6
src/router/index.js 查看文件

15
 
15
 
16
 
16
 
17
 Vue.use(Router)
17
 Vue.use(Router)
18
-router.afterEach((to, from) => {
19
-  share({
20
-    title: '施培基地培训系统',
21
-    desc: '施培基地培训系统'
22
-  })
23
-})
24
 
18
 
25
 const router = new Router({
19
 const router = new Router({
26
   routes: [
20
   routes: [
86
 
80
 
87
 })
81
 })
88
 
82
 
83
+router.afterEach((to, from) => {
84
+  share({
85
+    title: '施培基地培训系统',
86
+    desc: '施培基地培训系统'
87
+  })
88
+})
89
+
90
+
89
 export default router;
91
 export default router;