parent
3c4bd31a77
commit
bec35d03aa
|
@ -189,7 +189,8 @@ const Base = defineComponent<InternalBlockProps>({
|
||||||
onExpand?.(e);
|
onExpand?.(e);
|
||||||
}
|
}
|
||||||
// ================ Edit ================
|
// ================ Edit ================
|
||||||
function onEditClick() {
|
function onEditClick(e: MouseEvent) {
|
||||||
|
e.preventDefault();
|
||||||
state.originContent = props.content;
|
state.originContent = props.content;
|
||||||
triggerEdit(true);
|
triggerEdit(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue