Commit 150e7ba4 authored by 赵帅's avatar 赵帅

codeing

parent 35ae3924
......@@ -111,9 +111,10 @@
} else {
self.showColumns = [];
// 将字符串对象进行替换处理
_.each(self.schema['columns'], function(column) {
_.each(self.columns,function(item){
if(column.codeCamel===item){
_.each(self.columns,function(item){
_.each(self.schema['columns'], function(column) {
if(item===column.codeCamel){
console.log(item);
const tmp = JSON.parse(JSON.stringify(column))
self.showColumns.push(tmp)
}
......
<template>
<div>
<hm-complex-detail :schema="schema['HmUser']" :userId="userId">
</hm-complex-detail>
<!--<hm-complex-detail :schema="schema['HmUser']" :userId="userId">-->
<!--</hm-complex-detail>-->
<hm-complex-detail :schema="schema['HmUser']" :userId="userId" :columns="showUserColumns">
</hm-complex-detail>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment