mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 19:42:47 +08:00
修复表格选择字段渲染;
This commit is contained in:
@@ -12,12 +12,12 @@ use think\console\Output;
|
||||
|
||||
class VersionBase extends Command
|
||||
{
|
||||
public const VERSION = 'v2.0.97';
|
||||
public const VERSION = 'v2.0.98';
|
||||
|
||||
public const LAYUI_VERSION = '2.8.17';
|
||||
|
||||
public const COMMENT = [
|
||||
'优化表格选择器,支持textarea,支持多字段显示;',
|
||||
'修复表格选择字段渲染;',
|
||||
'发布新版本',
|
||||
];
|
||||
|
||||
|
||||
@@ -80,7 +80,12 @@
|
||||
computed: {
|
||||
listSelectedShow() {
|
||||
if (this.setting.fieldName.indexOf('|') < 0) {
|
||||
return this.listSelected.map(item => item['_select_show'] = item[this.setting.fieldName]);
|
||||
return this.listSelected.map(
|
||||
(item) => {
|
||||
item['_select_show'] = item[this.setting.fieldName];
|
||||
return item;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
var fieldNameList = this.setting.fieldName.split('|');
|
||||
|
||||
Reference in New Issue
Block a user