UNPKG
@jdlinker/system
Version:
latest (3.5.0)
3.5.0
3.4.9
3.4.7
3.4.5
3.4.4
3.4.3
3.4.1
3.4.0
3.3.3
3.3.0
3.2.8
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.1.7
3.1.6
3.1.5
3.1.1
3.0.9
3.0.8
3.0.5
jdLinker 系统模块
@jdlinker/system
/
src
/
api
/
demo
/
tree.ts
12 lines
(9 loc)
•
285 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import { defHttp }
from
'@jdlinker/func'
;
enum
Api { TREE_OPTIONS_LIST =
'/mock/tree/getDemoOptions'
}
/** * @description: Get sample options value */
export
const
treeOptionsListApi = (
params
?: Recordable) => defHttp.
get
<Recordable[]>({ url: Api.TREE_OPTIONS_LIST,
params
});