Skip to content

Commit aad95b3

Browse files
authored
Merge pull request #21040 from apache/fix-buildPath
fix(buildPath): revert checking buildPath
2 parents 9003873 + 1fe657d commit aad95b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/chart/custom/CustomView.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,6 @@ function createEl(elOption: CustomElementOption): Element {
369369
}
370370
const Clz = graphicUtil.getShapeClass(path.type);
371371
if (!Clz) {
372-
if (typeof path.buildPath === 'function') {
373-
return path;
374-
}
375372
let errMsg = '';
376373
if (__DEV__) {
377374
errMsg = 'graphic type "' + graphicType + '" can not be found.';

0 commit comments

Comments
 (0)