luoyb
2021-04-23 9d03c8222e41d937a0fee72d8b3d67b2bb28182b
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'
    })
  }
}