新增通用方法简化下载使用

This commit is contained in:
RuoYi
2021-09-27 12:10:39 +08:00
parent f4a2f909a7
commit 7fcb1b2e0a
7 changed files with 45 additions and 79 deletions

View File

@@ -1,5 +1,6 @@
import cache from './cache'
import modal from './modal'
import download from './download'
export default {
install(Vue) {
@@ -7,5 +8,7 @@ export default {
Vue.prototype.$cache = cache
// 模态框对象
Vue.prototype.$modal = modal
// 下载文件
Vue.prototype.$download = download
}
}