调整写法
Former-commit-id: eb2bd69978e4e1e04893c323dc5b3a3ec43149a4
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?20b202d9b1189c9352fc3e8c92c215fc";
|
||||
hm.src = "https://hm.baidu.com/hm.js?de358376fd85791edd2acd3049956aa3";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
|
||||
+4
-2
@@ -10,11 +10,13 @@ import '@/plugin/axios'
|
||||
import '@/mock/register'
|
||||
import util from '@/libs/util.js'
|
||||
import store from '@/store/index'
|
||||
import pluginOpen from '@/plugin/open'
|
||||
|
||||
// 菜单和路由设置
|
||||
import router from './router'
|
||||
import menuHeader from '@/menu/header'
|
||||
import menuAside from '@/menu/aside'
|
||||
import pluginOpen from '@/plugin/open'
|
||||
import { frameInRoutes } from '@/router/routes'
|
||||
import router from './router'
|
||||
|
||||
Vue.use(ElementUI)
|
||||
Vue.use(pluginOpen)
|
||||
|
||||
+4
-1
@@ -8,7 +8,10 @@ import routes from './routes'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
let router = new VueRouter({ routes })
|
||||
// 导出路由 在 main.js 里使用
|
||||
const router = new VueRouter({
|
||||
routes
|
||||
})
|
||||
|
||||
/**
|
||||
* 路由拦截
|
||||
|
||||
Reference in New Issue
Block a user