Skip to content

Commit

Permalink
fix: 修复界面交互问题 (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchenguang1998 authored Jun 15, 2024
1 parent 021a660 commit d03f83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/lang.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @LastEditTime: 2023-07-29 22:24:03
-->
<template>
<Dropdown @on-click="setLang">
<Dropdown placement="bottom-end" @on-click="setLang">
<Button type="text">
{{ lang }}
<Icon type="ios-arrow-down"></Icon>
Expand Down
2 changes: 2 additions & 0 deletions src/views/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ const rulerSwitch = (val) => {
} else {
canvasEditor.rulerDisable();
}
// 使标尺开关组件失焦,避免响应键盘的空格事件
document.activeElement.blur();
};

// 隐藏工具条
Expand Down

0 comments on commit d03f83b

Please sign in to comment.