mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-26 11:55:23 +08:00
Merge branch 'master' of https://github.com/cq-panda/Vue.NetCore
This commit is contained in:
@@ -1438,7 +1438,7 @@ export default defineComponent({
|
||||
return row[column.field];
|
||||
}
|
||||
|
||||
if (column.edit && column.edit.type == 'selectList') {
|
||||
if (column.edit && (column.edit.type == 'selectList'||column.edit.type=='treeSelect')) {
|
||||
if (!Array.isArray(val)) {
|
||||
row[column.field] = val.split(',');
|
||||
} else {
|
||||
@@ -1447,7 +1447,7 @@ export default defineComponent({
|
||||
return this.getSelectFormatter(column, val);
|
||||
}
|
||||
// 编辑多选table显示
|
||||
if (column.bind.type == 'selectList' || column.bind.type == 'checkbox') {
|
||||
if (column.bind.type == 'selectList' || column.bind.type == 'checkbox'||column.bind.type=='treeSelect') {
|
||||
if (typeof val === 'string' && val.indexOf(',') != -1) {
|
||||
return this.getSelectFormatter(column, val);
|
||||
}
|
||||
|
||||
@@ -1438,7 +1438,7 @@ export default defineComponent({
|
||||
return row[column.field];
|
||||
}
|
||||
|
||||
if (column.edit && column.edit.type == 'selectList') {
|
||||
if (column.edit && (column.edit.type == 'selectList'||column.edit.type=='treeSelect')) {
|
||||
if (!Array.isArray(val)) {
|
||||
row[column.field] = val.split(',');
|
||||
} else {
|
||||
@@ -1447,7 +1447,7 @@ export default defineComponent({
|
||||
return this.getSelectFormatter(column, val);
|
||||
}
|
||||
// 编辑多选table显示
|
||||
if (column.bind.type == 'selectList' || column.bind.type == 'checkbox') {
|
||||
if (column.bind.type == 'selectList' || column.bind.type == 'checkbox'||column.bind.type=='treeSelect') {
|
||||
if (typeof val === 'string' && val.indexOf(',') != -1) {
|
||||
return this.getSelectFormatter(column, val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user