修改ParentDeviceCode为undefined时,自动请求自动删除问题
This commit is contained in:
@@ -125,7 +125,7 @@ export default {
|
|||||||
// if (this.choosable === 'true') {
|
// if (this.choosable === 'true') {
|
||||||
// deviceConfigureModelValue["@ParentDeviceCode"] = val["@ParentDeviceCode"]
|
// deviceConfigureModelValue["@ParentDeviceCode"] = val["@ParentDeviceCode"]
|
||||||
// }
|
// }
|
||||||
deviceConfigureModelValue["@ParentDeviceCode"] = val["@ParentDeviceCode"]
|
deviceConfigureModelValue["@ParentDeviceCode"] = val["@ParentDeviceCode"] || ''
|
||||||
each(deviceConfigureFormItemData[this.defaultDeviceTypeNameValue], (item) => {
|
each(deviceConfigureFormItemData[this.defaultDeviceTypeNameValue], (item) => {
|
||||||
if (item.type === 'time') {
|
if (item.type === 'time') {
|
||||||
deviceConfigureModelValue[item.key] = val[item.key] ? val[item.key] : new Date()
|
deviceConfigureModelValue[item.key] = val[item.key] ? val[item.key] : new Date()
|
||||||
|
|||||||
Reference in New Issue
Block a user