This commit is contained in:
2025-08-31 15:29:05 +08:00
parent acb59b64bd
commit 0a45d62278
4 changed files with 34 additions and 23 deletions

View File

@@ -3,6 +3,7 @@ import auth from './auth'
import cache from './cache'
import modal from './modal'
import download from './download'
import request from '@/utils/request'
export default {
install(Vue) {
@@ -16,5 +17,7 @@ export default {
Vue.prototype.$modal = modal
// 下载文件
Vue.prototype.$download = download
// 全局请求实例(供 this.$axios 使用)
Vue.prototype.$axios = request
}
}