mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-07 23:01:52 +08:00
v3.8.0 新增通用方法简化模态/缓存使用
This commit is contained in:
11
yudao-ui-admin/src/plugins/index.js
Normal file
11
yudao-ui-admin/src/plugins/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import cache from './cache'
|
||||
import modal from './modal'
|
||||
|
||||
export default {
|
||||
install(Vue) {
|
||||
// 缓存对象
|
||||
Vue.prototype.$cache = cache
|
||||
// 模态框对象
|
||||
Vue.prototype.$modal = modal
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user