fix: 基站状态页面编辑判断错误

This commit is contained in:
TsMask
2025-01-16 14:27:51 +08:00
parent b2d818fc30
commit 8586d7f1ce

View File

@@ -343,7 +343,7 @@ function fnModalOk() {
.then(e => {
modalState.confirmLoading = true;
const hide = message.loading(t('common.loading'), 0);
let result: any = modalState.title.startsWith('Edit')
let result: any = from.state
? editAMFNbState(neID, from)
: addAMFNbState(neID, from);
result