提交 4738cb2f 编写于 作者: P Pine Wu

Fix #78160

上级 425040ef
......@@ -703,7 +703,7 @@ export class SettingArrayRenderer extends AbstractSettingRenderer implements ITr
: [...template.context.value];
// Delete value
if (e.removeIndex) {
if (e.removeIndex !== undefined) {
if (!e.value && e.originalValue && e.removeIndex > -1) {
newValue.splice(e.removeIndex, 1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册