Commit 68b7a39b by zhaochengxiang

bug fix

parent a6ec820a
......@@ -209,7 +209,7 @@ export const EditAssets = React.forwardRef(function ({ action, type, ids, elemen
item.paths = rows[dataIndex]
}
} else {
const index = (element??[]).findIndex(item => item.name === dataIndex)
const index = (elements??[]).findIndex(item => item.name === dataIndex)
if (index !== -1) {
for (const item of newModifyData) {
item.values[index] = rows[dataIndex]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment