dashboard
repositories
filestore
activity
search
login
main
/
sgd
智慧粮库
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
新增通用方法简化模态/缓存使用
RuoYi
2021-09-23
829451f05eae1bd4897d9ef6ba12039d276b2c2e
[sgd.git]
/
ruoyi-ui
/
src
/
plugins
/
index.js
1
2
3
4
5
6
7
8
9
10
11
import cache from './cache'
import modal from './modal'
export default {
install(Vue) {
// 缓存对象
Vue.prototype.$cache = cache
// 模态框对象
Vue.prototype.$modal = modal
}
}