12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- export default safe => {
- console.log(safe) // vue的this对象
- return {
- index: true,
- align: 'center',
- headerAlign: 'center',
- border: true,
- stripe: true,
- column: [
- {
- label: '名称(name)',
- prop: 'name',
- search: true,
- rules: [
- {
- required: true,
- message: '请输入名称(name)',
- trigger: 'blur'
- }
- ]
- },
- {
- label: '值(value)',
- prop: 'value',
- search: true,
- rules: [
- {
- required: true,
- message: '请输入值(value)',
- trigger: 'blur'
- }
- ]
- },
- {
- label: '参数(code)',
- prop: 'code',
- search: true,
- rules: [
- {
- required: true,
- message: '请输入参数(code)',
- trigger: 'blur'
- }
- ]
- },
- {
- label: '备注',
- prop: 'note'
- }
- ]
- }
- }
|