Former-commit-id: 77efa956a8c75a0ea24e549ab140d841e52241ba [formerly 77efa956a8c75a0ea24e549ab140d841e52241ba [formerly 77efa956a8c75a0ea24e549ab140d841e52241ba [formerly 77efa956a8c75a0ea24e549ab140d841e52241ba [formerly b16e2b134c1e9f84b1c87cdd88f4297c953528b2 [formerly 613f02ee4c45aa895a1426fc12b4c8a1812fcdf9]]]]]
Former-commit-id: 4b28cfb51bafd4a7c7270635d000c76d7f131226
Former-commit-id: 5f6496adcda69de010ba05fbb62fd52be74b20d4
Former-commit-id: 18a36bf7a4bab1571c1cecb2d5f9c44e6bd81aff [formerly b0a4fc887abc4379d76b4f0e4477e16faa220f66]
Former-commit-id: 6e2c110b50dc282e141bc01f0a5afcbbdeacdfa9
Former-commit-id: 3e3b9f86fd7d2058ef73c4c60a5e9de3e2a68e76
Former-commit-id: 67176ed2397da7deadbb102acfbb8042586cec3f
Former-commit-id: d7012f84b0d3a4ab9d1d90a52a43976902005a54
Former-commit-id: 70682c560f7a171ef808bb3af0e85c9a786d8a94
This commit is contained in:
孙昊翔
2018-12-24 14:48:47 +08:00
parent 152b5a3a27
commit 4ff4ea3d91
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ export default `<template>
:columns="columns"
:data="data"
:rowHandle="rowHandle"
:form-template="formTemplate"
:edit-template="editTemplate"
:form-options="formOptions"
@row-edit="handleRowEdit"
@dialog-cancel="handleDialogCancel"/>
@@ -59,7 +59,7 @@ export default {
fixed: 'right'
}
},
formTemplate: {
editTemplate: {
date: {
title: '日期',
value: '',

View File

@@ -1 +1 @@
`form-options` 中传入 `gutter` 属性来控制栅格间隔,向 `form-template``component` 对象传入 `span` 属性来控制栅格占据的列数。代码如下:
`form-options` 中传入 `gutter` 属性来控制栅格间隔,向 `add-template``edit-template``component` 对象传入 `span` 属性来控制栅格占据的列数。代码如下:

View File

@@ -5,7 +5,7 @@
:columns="columns"
:data="data"
:rowHandle="rowHandle"
:form-template="formTemplate"
:edit-template="editTemplate"
:form-options="formOptions"
@row-edit="handleRowEdit"
@dialog-cancel="handleDialogCancel">
@@ -76,7 +76,7 @@ export default {
fixed: 'right'
}
},
formTemplate: {
editTemplate: {
date: {
title: '日期',
value: '',