fix: 编译类型修复
This commit is contained in:
@@ -52,7 +52,7 @@ function fnGraphDataGroups(reload: boolean = false) {
|
|||||||
getGraphGroups()
|
getGraphGroups()
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
graphState.groupOptions = res.data.map(str => {
|
graphState.groupOptions = res.data.map((str: string) => {
|
||||||
return { label: str, value: str };
|
return { label: str, value: str };
|
||||||
});
|
});
|
||||||
// 非重载
|
// 非重载
|
||||||
|
|||||||
Reference in New Issue
Block a user