fix: 编译类型修复

This commit is contained in:
TsMask
2025-02-20 11:30:51 +08:00
parent 485fa89833
commit 257896a10e

View File

@@ -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 };
}); });
// 非重载 // 非重载