no message

This commit is contained in:
A1300399510 2024-11-18 18:53:26 +08:00
parent 6b2da5cca5
commit 107d8ad0b5

View File

@ -655,9 +655,8 @@
nextTick(() => {
manageList.value.forEach((element, index) => {
if (element.ismanage == 1 && element.remarks) {
// const textarea = manageListRef.value.querySelector(`.item${index} textarea`)
console.log("element", element)
const textarea = manageListRef.value.querySelector(`.item[data-index="${index}"] textarea`)
element["inputHeight"] = textarea.scrollHeight + "px"
}
})
@ -907,7 +906,7 @@
if (maxOverlapElement != null) {
const over1 = JSON.parse(JSON.stringify(list[maxOverlapElement]))
const over2 = JSON.parse(JSON.stringify(list[isDragging.value]))
list[maxOverlapElement]["sortKey"] = over2.sortKey
list[isDragging.value]["sortKey"] = over1.sortKey
manageList.value = list
@ -980,7 +979,6 @@
dragging,
endDrag,
isDragging,
}
},
})