过滤无效 view
This commit is contained in:
parent
031a8139bb
commit
76c7ce81ae
@ -58,6 +58,10 @@ export default class Painter {
|
||||
}
|
||||
|
||||
_drawAbsolute(view) {
|
||||
if (!(view && view.type)) {
|
||||
// 过滤无效 view
|
||||
return
|
||||
}
|
||||
// 证明 css 为数组形式,需要合并
|
||||
if (view.css && view.css.length) {
|
||||
/* eslint-disable no-param-reassign */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user