diff --git a/src/components/mdp-ui/mixin/MdpTableMixin.js b/src/components/mdp-ui/mixin/MdpTableMixin.js index d9d2daa..b63e5c7 100644 --- a/src/components/mdp-ui/mixin/MdpTableMixin.js +++ b/src/components/mdp-ui/mixin/MdpTableMixin.js @@ -516,6 +516,11 @@ export const MdpTableMixin = { if(d[expandFieldName] && d[expandFieldName] instanceof String){ d[expandFieldName]=JSON.parse(d[expandFieldName]) } + if(d[expandFieldName] instanceof Array){ + d[expandFieldName].forEach(k=>{ + d[expandFieldName+"."+k.id]=k.value + }) + } }) } }, diff --git a/src/views/mdp/form/formData/Index.vue b/src/views/mdp/form/formData/Index.vue index a67a973..0676a3f 100644 --- a/src/views/mdp/form/formData/Index.vue +++ b/src/views/mdp/form/formData/Index.vue @@ -1,7 +1,7 @@