日志:修改配置回显问题

This commit is contained in:
高云鹏 2024-11-16 13:27:47 +08:00
parent f8b0f0b2ca
commit 5523d7de01

View File

@ -211,7 +211,7 @@ const getTreeDataList = () => {
label: item.name,
code: item.code,
id: item.id,
options: item.options ? JSON.parse(item.options).fdrFormat : {},
options: item.options ? JSON.parse(item.options).plcFormat : {},
}
})
originTreeChildData = data
@ -344,7 +344,7 @@ const cancelConfig = () => {
}
const setAirBlowerConfig = () => {
const stringify = JSON.stringify({ fdrFormat: configFormData })
const stringify = JSON.stringify({ plcFormat: configFormData })
setConfigReq({
id: curTreeData.value.id,