agilebuilder-ui 1.0.87-temp7 → 1.0.87-temp8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +600 -597
- package/lib/super-ui.umd.cjs +12 -12
- package/package.json +1 -1
- package/packages/super-grid/src/normal-column-content.vue +5 -3
package/package.json
CHANGED
|
@@ -686,12 +686,12 @@ export default {
|
|
|
686
686
|
// 找出名称后赋值给当前字段
|
|
687
687
|
const filterValue = temp.optionItems.find((item) => item[temp.valueAttribute] === beforeColumnValue)
|
|
688
688
|
if (filterValue) {
|
|
689
|
-
beforeColumnValue = filterValue[
|
|
689
|
+
beforeColumnValue = filterValue[selectDataKey]
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
param.row[this.column.prop] = beforeColumnValue
|
|
693
693
|
} else {
|
|
694
|
-
if (beforeColumnValue && selectDataKey !== temp.valueAttribute) {
|
|
694
|
+
if (beforeColumnValue && selectDataKey !== temp.valueAttribute && Array.isArray(beforeColumnValue)) {
|
|
695
695
|
if (typeof beforeColumnValue === 'string') {
|
|
696
696
|
beforeColumnValue = beforeColumnValue.split(',')
|
|
697
697
|
}
|
|
@@ -700,11 +700,13 @@ export default {
|
|
|
700
700
|
beforeColumnValue.forEach((selectItem) => {
|
|
701
701
|
if (selectDataKey !== temp.valueAttribute) {
|
|
702
702
|
const filterValue = temp.optionItems.find((option) => option[temp.valueAttribute] === selectItem)
|
|
703
|
+
debugger
|
|
703
704
|
if (filterValue) {
|
|
704
|
-
t.push(filterValue[
|
|
705
|
+
t.push(filterValue[selectDataKey])
|
|
705
706
|
}
|
|
706
707
|
}
|
|
707
708
|
})
|
|
709
|
+
debugger
|
|
708
710
|
if (t.length > 0) {
|
|
709
711
|
beforeColumnValue = t
|
|
710
712
|
param.row[this.column.prop] = beforeColumnValue.join(',')
|