Commit 98099901 authored by 王康's avatar 王康

form

parent 3cad6300
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
// 存在tableId,修改数据前先获取数据 // 存在tableId,修改数据前先获取数据
getList() { getList() {
const self = this const self = this
if (!self.tableId) return
// 获取数据 // 获取数据
request(self.schema.modelUnderscorePlural + '/' + self.tableId).then(resp => { request(self.schema.modelUnderscorePlural + '/' + self.tableId).then(resp => {
// 数据库字段转化显示 // 数据库字段转化显示
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
:columns="showUserColumns" :columns="showUserColumns"
:buttons="showUserButtons" :buttons="showUserButtons"
:layout="layout" :layout="layout"
:tableId="tableId"> >
</hm-complex-form> </hm-complex-form>
</div> </div>
</template> </template>
......
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