feat(css): 添加移动端 iconfont样式并优化内容编辑组件- 在 main.scss 中添加移动端 iconfont 样式
- 为 contenteditable 组件添加失焦事件处理 - 新增 YLPicker 组件,支持年月日时分秒的自定义格式选择
This commit is contained in:
@@ -86,7 +86,11 @@ onMounted(() => {
|
||||
editor.value.addEventListener('focus', () => {
|
||||
showAction.value = true;
|
||||
});
|
||||
|
||||
editor.value.addEventListener('blur', () => {
|
||||
setTimeout(() => {
|
||||
showAction.value = false;
|
||||
});
|
||||
});
|
||||
document.addEventListener('resize', () => {
|
||||
showAction.value = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user