|
@@ -565,7 +565,7 @@ export default {
|
|
|
isText: t.isText || false,
|
|
|
...additionalType
|
|
|
}
|
|
|
- if (this.config.relationColumnList && this.config.relationColumnList.length){
|
|
|
+ if (relationFlag && this.config.relationColumnList && this.config.relationColumnList.length){
|
|
|
let relationColumn = this.config.relationColumnList.find(item => item.foreignId == res.__vModel__)
|
|
|
if (relationColumn) {
|
|
|
res.value = val ? val[relationColumn.primaryId] : null
|