Update dict-data.js

peiyanni 3 years ago
parent 8d3c5abece
commit 290d53a345

@ -5,6 +5,7 @@
* @Last Modified time: 2020-12-15 15:34:34
*/
import request from '@/utils/request'
import { setStorageItem } from '@/utils/storage'
// 数据字典和基础数据查询的相关接口
/**
@ -70,7 +71,7 @@ export function initDictToLocalstorage(callback) {
}
// 保存数据字典到localStorage
localStorage.setItem('gaeaDict', JSON.stringify(res.data))
setStorageItem('gaeaDict', res.data)
if (callback != null) {
callback()
}

Loading…
Cancel
Save