Skip to content

Commit f4d9c89

Browse files
author
hikki
committed
v3.2
1 parent b887310 commit f4d9c89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/assets/component.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ window.ComponentCascadeDot = class {
579579
if (data.expand === open) return;
580580
data.expand = open;
581581
let left_mark = dom.querySelector('i.left');
582+
if(!(left_mark instanceof HTMLElement))return;
582583
if (open) {
583584
left_mark.innerHTML = _component.caret_right_circle;
584585
return;
@@ -1361,6 +1362,7 @@ window.ComponentCascadeLine = class {
13611362
if (data.expand === open) return;
13621363
data.expand = open;
13631364
let left_mark = dom.querySelector('i.left');
1365+
if(!(left_mark instanceof HTMLElement))return;
13641366
if (open) {
13651367
left_mark.innerHTML = _component.caret_right_circle;
13661368
return;

0 commit comments

Comments
 (0)