demo21
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:
@@ -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: '',
|
||||
|
||||
@@ -1 +1 @@
|
||||
向 `form-options` 中传入 `gutter` 属性来控制栅格间隔,向 `form-template` 的 `component` 对象传入 `span` 属性来控制栅格占据的列数。代码如下:
|
||||
向 `form-options` 中传入 `gutter` 属性来控制栅格间隔,向 `add-template` 或 `edit-template` 的 `component` 对象传入 `span` 属性来控制栅格占据的列数。代码如下:
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user