RuoYi
2021-11-24 31106c91fbf8a3b8ad5ab97e5bfd9263fa24c898
修复使用 this.$options.data 报错问题
已修改1个文件
2 ■■■ 文件已修改
ruoyi-ui/src/utils/dict/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/utils/dict/index.js
@@ -5,7 +5,7 @@
  mergeOptions(options)
  Vue.mixin({
    data() {
      if (this.$options.dicts === undefined || this.$options.dicts === null) {
      if (this.$options === undefined || this.$options.dicts === undefined || this.$options.dicts === null) {
        return {}
      }
      const dict = new Dict()