修改scheme

This commit is contained in:
Harvey Zack committed 2018-11-22 19:48:26 +08:00
1 parent 36bd1bdc20
commit d6e35781ca
5 files changed
+34 -31

No files matched your search

+7 -9
View File
@@ -68,15 +68,13 @@ export default {
type: 'array',
child: {
type: 'object|function',
option: {
type: 'object',
child: {
disable: 'boolean',
name: 'string',
index: 'number',
position: 'string',
},
},
disable: 'boolean',
name: 'string',
index: 'number',
html: validElement,
style: 'object',
click: 'function',
position: (paths, value) => ['top', 'left', 'right'].includes(value),
},
},
highlight: {