Kaynağa Gözat

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

[baozhangchao] 3 yıl önce
ebeveyn
işleme
ee45902986
2 değiştirilmiş dosya ile 8 ekleme ve 7 silme
  1. 0
    1
      src/main.js
  2. 8
    6
      src/router/index.js

+ 0
- 1
src/main.js Dosyayı Görüntüle

@@ -29,7 +29,6 @@ import './global_style.less'
29 29
 const queryPath = getQueryPath()
30 30
 if (queryPath) {
31 31
   window.location.href = queryPath
32
-  return
33 32
 }
34 33
 
35 34
 

+ 8
- 6
src/router/index.js Dosyayı Görüntüle

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