|
@@ -449,9 +449,9 @@ export default {
|
|
|
this.$message.error('请先选择基础库')
|
|
|
return
|
|
|
}
|
|
|
- const newItem = { w: 2, h: 1, x: 1, y: this.pageArray.map(item => item?.y).sort()[this.pageArray.length-1] || 1, i: this.pageArrayCount, ...item }
|
|
|
+ const newItem = { w: 1, h: 2, x: 1, y: this.pageArray.map(item => item?.y).sort()[this.pageArray.length-1] || 1, i: this.pageArrayCount, ...item }
|
|
|
if (this.baseItem.id !== undefined) {
|
|
|
- const { bandValue, bootCode, bootCodeSend, overCode, synchronizeCode, synchronizeCodeSend, dateBinary0, dateBinary1, repeatCode } = this.baseItem
|
|
|
+ const { bandValue, bootCode, bootCodeSend, addressCode, synchronizeCode, synchronizeCodeSend, dateBinary0, dateBinary1, repeatCode } = this.baseItem
|
|
|
if (item.type === 'button') {
|
|
|
newItem.bandValue = bandValue
|
|
|
newItem.repeatCode = repeatCode
|
|
@@ -465,6 +465,7 @@ export default {
|
|
|
newItem.dateBinary1 = dateBinary1
|
|
|
newItem.addSubMax = ''
|
|
|
newItem.addSubMin = ''
|
|
|
+ newItem.addressCode = addressCode
|
|
|
}
|
|
|
}
|
|
|
this.pageArray.push(newItem)
|