Просмотр исходного кода

字典类新增获取字典列表方法

master
bjfight 3 дней назад
Родитель
Сommit
7d789ce7bb
1 измененных файлов: 8 добавлений и 1 удалений
  1. 8
    1
      datas/queryKey.js

+ 8
- 1
datas/queryKey.js Просмотреть файл

if (types[0] && types) { if (types[0] && types) {
return types[0] ? types[0].code : '' return types[0] ? types[0].code : ''
} }
}
}
/*通过字典type取字典*/
export const getDicWithType = (type) => {
var data = getItem('key')
let types = data[type]
return types;
}

Загрузка…
Отмена
Сохранить