疯狂的狮子li
2021-11-25 450657f8710753a7e8c0712d5d7c1257d8548a19
ruoyi-ui/src/plugins/index.js
@@ -1,9 +1,12 @@
import auth from './auth'
import cache from './cache'
import modal from './modal'
import download from './download'
export default {
  install(Vue) {
    // 认证对象
    Vue.prototype.$auth = auth
    // 缓存对象
    Vue.prototype.$cache = cache
    // 模态框对象