luoyb
2021-06-03 0c8c93d4c29c361f1ce7ada86ef0f4ca81201cb1
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'
    })
  }
}