update ruoyi-ui/src/utils/dict/index.js.
防止字典重复加载,做字典全局缓存
This commit is contained in:
parent
869dcf73f8
commit
ec20194186
@ -1,6 +1,7 @@
|
||||
import Dict from './Dict'
|
||||
import { mergeOptions } from './DictOptions'
|
||||
|
||||
var __dictCache = new Map();
|
||||
window.__dictCache = __dictCache;
|
||||
export default function(Vue, options) {
|
||||
mergeOptions(options)
|
||||
Vue.mixin({
|
||||
|
Loading…
x
Reference in New Issue
Block a user