疯狂的狮子Li
2023-01-14 5911e94b65e45c98c81f64928232b5d8f824a19b
ruoyi-ui/src/plugins/index.js
@@ -1,9 +1,15 @@
import tab from './tab'
import auth from './auth'
import cache from './cache'
import modal from './modal'
import download from './download'
export default {
  install(Vue) {
    // 页签操作
    Vue.prototype.$tab = tab
    // 认证对象
    Vue.prototype.$auth = auth
    // 缓存对象
    Vue.prototype.$cache = cache
    // 模态框对象