fix scheme

This commit is contained in:
Harvey committed 2020-09-18 14:18:20 +08:00
1 parent 3a545ae5e6
commit d762033f1d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ const f = 'function';
const r = 'regexp';
function validElement(value, type, paths) {
return errorHandle(type === s || value instanceof Element, `${paths.join('.')} require s or 'Element' type`);
return errorHandle(type === s || value instanceof Element, `${paths.join('.')} require '${s}' or 'Element' type`);
}
const component = {