修复动态输入组件初始化

This commit is contained in:
2023-11-02 21:08:24 +08:00
parent 2c7a3f83eb
commit d7618f525b
2 changed files with 6 additions and 3 deletions

View File

@@ -12,13 +12,12 @@ use think\console\Output;
class VersionBase extends Command
{
public const VERSION = 'v2.0.65';
public const VERSION = 'v2.0.66';
public const LAYUI_VERSION = '2.8.17';
public const COMMENT = [
'属性输入组件增加拖动排序,自定义列',
'给商品表增加字段',
'修复动态输入组件初始化',
'发布新版本',
];

View File

@@ -135,6 +135,10 @@
this.originalValue = $.extend(true, [], this.setting.value);
this.listItem = $.extend(true, [], this.setting.value);
this.updateValue(this.listItem);
if (this.listItem.length == 0) {
this.onAddItem();
}
}
},