Compare commits
2 Commits
f18b3ae03e
...
0deef13b8d
Author | SHA1 | Date | |
---|---|---|---|
0deef13b8d | |||
fdbb8366b1 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -52,3 +52,4 @@ vite.config.ts.*
|
|||||||
# 排除自动生成的类型文件
|
# 排除自动生成的类型文件
|
||||||
apps/web-antd/types/components.d.ts
|
apps/web-antd/types/components.d.ts
|
||||||
.history
|
.history
|
||||||
|
apps/web-antd/vite.config.mts
|
||||||
|
@@ -71,6 +71,10 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
|
|
||||||
if (isUpdate.value && id) {
|
if (isUpdate.value && id) {
|
||||||
const record = await meterInfoInfo(id);
|
const record = await meterInfoInfo(id);
|
||||||
|
record.meterType = record.meterType.toString();
|
||||||
|
record.meterUnit = record.meterUnit.toString();
|
||||||
|
record.runningState = record.runningState.toString();
|
||||||
|
record.communicationState = record.communicationState.toString();
|
||||||
await formApi.setValues(record);
|
await formApi.setValues(record);
|
||||||
}
|
}
|
||||||
await markInitialized();
|
await markInitialized();
|
||||||
|
Reference in New Issue
Block a user