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'
    })
  }
}