luoyb
2021-06-07 4676141dae020bd3e2a078b8350df84ed6c325ab
1
2
3
4
5
6
7
8
9
10
11
import request from './request'
// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
  const newVar = typeof (dictType)
  if (newVar !== 'function') {
    return request({
      url: 'system/dicItem/type/' + dictType,
      method: 'get'
    })
  }
}