node2.expression.right.callee 容错
This commit is contained in:
parent
0a030db89d
commit
a4171f36d1
|
|
@ -258,6 +258,7 @@ module.exports = (babel) => {
|
|||
node2 &&
|
||||
node2.expression &&
|
||||
node2.expression.right &&
|
||||
node2.expression.right.callee &&
|
||||
(node2.expression.right.callee.name === 'OakPage' ||
|
||||
node2.expression.right.callee.name ===
|
||||
'OakComponent')
|
||||
|
|
|
|||
Loading…
Reference in New Issue