liusheng
13 小时以前 c410c133f21297fc2bf6fc32335652eb07eb6d52
ruoyi-ui/src/utils/dict/index.js
@@ -20,11 +20,11 @@
      }
      options.onCreated && options.onCreated(this.dict)
      this.dict.init(this.$options.dicts).then(() => {
        options.onReady && options.onReady(this.dict)
        options.onReaby && options.onReaby(this.dict)
        this.$nextTick(() => {
          this.$emit('dictReady', this.dict)
          if (this.$options.methods && this.$options.methods.onDictReady instanceof Function) {
            this.$options.methods.onDictReady.call(this, this.dict)
          this.$emit('dictReaby', this.dict)
          if (this.$options.methods && this.$options.methods.onDictReaby instanceof Function) {
            this.$options.methods.onDictReaby.call(this, this.dict)
          }
        })
      })