mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 新文本框聚焦自动选中内容
This commit is contained in:
parent
bc8e5a97c9
commit
b71ca3e144
@ -66,7 +66,7 @@ export default defineComponent({
|
||||
if (props.value === '请输入内容') {
|
||||
setTimeout(() => {
|
||||
selectAll(editorView.state, editorView.dispatch)
|
||||
}, 0)
|
||||
}, 100)
|
||||
}
|
||||
mainStore.setDisableHotkeysState(true)
|
||||
emit('focus')
|
||||
|
Loading…
x
Reference in New Issue
Block a user