刘元博
2022-10-21 b6153d1aef10638afabc290cac43f1c63342ac6c
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
    // 缓存对象