疯狂的狮子Li
2021-10-25 42a3117e2ac087f5c2c28ca07a1c4443e2c38ca3
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
    // 模态框对象