124
This commit is contained in:
15
src/plugins/index.js
Normal file
15
src/plugins/index.js
Normal file
@ -0,0 +1,15 @@
|
||||
import tab from './tab'
|
||||
import auth from './auth'
|
||||
import cache from './cache'
|
||||
import modal from './modal'
|
||||
|
||||
export default function installPlugins(app) {
|
||||
// 页签操作
|
||||
app.config.globalProperties.$tab = tab
|
||||
// 认证对象
|
||||
app.config.globalProperties.$auth = auth
|
||||
// 缓存对象
|
||||
app.config.globalProperties.$cache = cache
|
||||
// 模态框对象
|
||||
app.config.globalProperties.$modal = modal
|
||||
}
|
||||
Reference in New Issue
Block a user