初始化仓库
This commit is contained in:
20
plugins/index.js
Normal file
20
plugins/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import tab from './tab'
|
||||
import auth from './auth'
|
||||
import time from './time'
|
||||
import modal from './modal'
|
||||
import config from './config.js'
|
||||
|
||||
export default {
|
||||
install(Vue) {
|
||||
// 页签操作
|
||||
Vue.prototype.$tab = tab
|
||||
// 认证对象
|
||||
Vue.prototype.$auth = auth
|
||||
// 时间对象
|
||||
Vue.prototype.$time = time
|
||||
// 模态框对象
|
||||
Vue.prototype.$modal = modal
|
||||
// 配置对象
|
||||
Vue.prototype.$config = config
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user