src/views/warehouseManage/listingRules/index.vue
@@ -279,6 +279,7 @@ }, // 行点击 tableRowClick(row, rowIndex) { this.thatRow=row this.tableList.rowClickIndex=rowIndex this.rowIndex = rowIndex @@ -290,8 +291,8 @@ this.addTitle = "保存" this.showDiscard = true this.isRowClick = true if (!this.isNoProduct) { this.tableData.splice(this.tableData.length - 1, 1) if (this.isNoProduct) { // this.tableData.splice(this.tableData.length - 1, 1) this.tableData.map((item, index) => { if (index === rowIndex) { item.isEdit = false