refactor: pinia setup store组合式函数写法
Former-commit-id: 03faa4898c2633666374b895336da32297d2f54a
This commit is contained in:
@@ -78,9 +78,7 @@ export function deleteDictTypes(ids: string) {
|
||||
*
|
||||
* @param typeCode 字典类型编码
|
||||
*/
|
||||
export function listDictItemsByTypeCode(
|
||||
typeCode: string
|
||||
): AxiosPromise<OptionType[]> {
|
||||
export function getDictionaries(typeCode: string): AxiosPromise<OptionType[]> {
|
||||
return request({
|
||||
url: '/api/v1/dict/types/' + typeCode + '/items',
|
||||
method: 'get'
|
||||
|
||||
Reference in New Issue
Block a user