• 此项目
    • 正在载入...
  • 登录

欧阳子桐 / RuoYi · 文件

转到一个项目

GitLab

  • 转到仪表盘
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • RuoYi
  • ruoyi-ui
  • src
  • plugins
  • index.js
  • 新增通用方法简化模态/缓存使用
    258335cc
    RuoYi 在
    2021-09-23 09:38:16 +0800
    提交 浏览文件
index.js 217 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11
import cache from './cache'
import modal from './modal'

export default {
  install(Vue) {
    // 缓存对象
    Vue.prototype.$cache = cache
    // 模态框对象
    Vue.prototype.$modal = modal
  }
}