mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-12 14:31:10 +00:00
【代码完善】IOT: 确保 ThingModel 中 dataSpecs 和 dataSpecsList 之中必须传入且只能传入一个
This commit is contained in:
@@ -111,7 +111,7 @@ const submitForm = async () => {
|
||||
!!data.property.dataSpecs && Object.keys(data.property.dataSpecs).length > 1
|
||||
? data.property.dataSpecs
|
||||
: undefined,
|
||||
dataSpecsList: data.property.dataSpecsList
|
||||
dataSpecsList: isEmpty(data.property.dataSpecsList) ? undefined : data.property.dataSpecsList
|
||||
}
|
||||
|
||||
// 查找是否已有相同 identifier 的项
|
||||
|
||||
Reference in New Issue
Block a user