|
@@ -482,7 +482,7 @@ export const renderForMoveData = () => {
|
|
|
list.forEach((item: any) => {
|
|
|
let index = moveData.modelList.findIndex((n: any) => n.id === item.id);
|
|
|
if (item.type === 'vf-text' && item.textContent) {
|
|
|
- let textValue = document.querySelector("#" + moveData.modelList[index].id)?.querySelector("text")?.innerHTML || ''
|
|
|
+ let textValue = document.querySelector("#" + moveData.modelList[index]?.id)?.querySelector("text")?.innerHTML || ''
|
|
|
let targetIndex = index, preEnd = false, done = false, preIndex = index, nextIndex = index;
|
|
|
// while (textValue !== item.textContent) {
|
|
|
// if (preEnd) {
|