luoyb
2021-03-12 4e6b24f719a8a44eb8efd9c47e846cf86137e205
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'
    })
  }
}