This commit is contained in:
Harvey committed 2021-11-24 17:01:50 +08:00
1 parent 592df134f1
commit 932b2005d5
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ export default {
{
...component,
position: (value, type, paths) => {
const position = ['top', 'left', 'right', 'middle'];
const position = ['top', 'left', 'right'];
return errorHandle(
position.includes(value),
`${paths.join('.')} only accept ${position.toString()} as parameters`,