Skip to content

Commit

Permalink
fix: [Bug]: 自定义按钮,动作:跳转链接 - “新窗口打开” 属性未生效 #353
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Apr 6, 2023
1 parent 8234cd6 commit 1ee65d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
to = normalizeLink(to);

if (action && action.actionType === 'url') {
action.blank === true ? window.open(to): (window.location.href = to);
action.blank === false ? (window.location.href = to) : window.open(to);
return;
}

Expand Down

0 comments on commit 1ee65d9

Please sign in to comment.