fix: image render error within the control #406
This commit is contained in:
@@ -288,11 +288,13 @@ export function formatElementList(
|
||||
}
|
||||
}
|
||||
}
|
||||
formatElementList(valueList, {
|
||||
...options,
|
||||
isHandleFirstElement: false
|
||||
})
|
||||
for (let v = 0; v < valueList.length; v++) {
|
||||
const element = valueList[v]
|
||||
const valueStrList = splitText(element.value)
|
||||
for (let e = 0; e < valueStrList.length; e++) {
|
||||
const value = valueStrList[e]
|
||||
const value = element.value
|
||||
elementList.splice(i, 0, {
|
||||
...element,
|
||||
controlId,
|
||||
@@ -304,7 +306,6 @@ export function formatElementList(
|
||||
i++
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (placeholder) {
|
||||
// placeholder
|
||||
const thePlaceholderArgs: Pick<IElement, 'color'> = {}
|
||||
|
||||
Reference in New Issue
Block a user