@@ -1051,21 +1051,21 @@ export default {
|
||||
if (row.OptType === 'Add' || row.OptType === 'Init') {
|
||||
item = {
|
||||
key: o[v.ChildDataLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel] ? o[v.ChildDataEnLabel] : o[v.ChildDataLabel],
|
||||
newValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--',
|
||||
oldValue: ''
|
||||
}
|
||||
} else if (row.OptType === 'Delete') {
|
||||
item = {
|
||||
key: o[v.ChildDataLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel] ? o[v.ChildDataEnLabel] : o[v.ChildDataLabel],
|
||||
oldValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--',
|
||||
newValue: '--'
|
||||
}
|
||||
} else {
|
||||
item = {
|
||||
key: o[v.ChildDataLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel],
|
||||
Enum: this.$i18n.locale === 'zh' ? o[v.ChildDataLabel] : o[v.ChildDataEnLabel] ? o[v.ChildDataEnLabel] : o[v.ChildDataLabel],
|
||||
newValue: o[v.ChildDataValue] ? (o[v.ChildDataValue] ? o[v.ChildDataValue] : '--') : '--',
|
||||
oldValue: uo ? uo[v.ChildDataValue] : '--'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user