This commit is contained in:
Harvey Zack committed 2019-07-19 18:18:32 +08:00
1 parent 8b16c0fc29
commit 385fc7bda2
4 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { append, setStyles, setStyle, remove, errorHandle, hasOwnProperty } from
export default function component(art, parent, target, getOption, callback, title) {
const option = typeof getOption === 'function' ? getOption(art) : getOption;
if (option.disable) return null;
if (option.disable) return {};
const componentID = parent.id;
const name = option.name || `${title}${componentID}`;
errorHandle(