RuoYi
2023-11-28 e6d0599b256866fc9fb0b06c1abbee50725d2d2c
ruoyi-ui/src/plugins/index.js
@@ -1,3 +1,4 @@
import tab from './tab'
import auth from './auth'
import cache from './cache'
import modal from './modal'
@@ -5,6 +6,8 @@
export default {
  install(Vue) {
    // 页签操作
    Vue.prototype.$tab = tab
    // 认证对象
    Vue.prototype.$auth = auth
    // 缓存对象