kun 9/26/20/10
This commit is contained in:
@@ -3,6 +3,7 @@ import App from './App.vue'
|
||||
import router from './router'
|
||||
import store from './store'
|
||||
import http from '../static/js/http'
|
||||
import tool from '../static/js/tool'
|
||||
import ElementUI from 'element-ui'
|
||||
import md5 from 'js-md5'
|
||||
|
||||
@@ -32,6 +33,7 @@ router.beforeEach((to, from, next) => {
|
||||
})
|
||||
|
||||
Vue.prototype.$md5 = md5
|
||||
Vue.prototype.$tool = tool
|
||||
Vue.prototype.$http = http
|
||||
Vue.prototype.$jump = function (url) {
|
||||
this.$router.push({
|
||||
|
||||
Reference in New Issue
Block a user