chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -26,12 +26,12 @@ import {
type Listener = (e: WorkflowContentChangeEvent) => void;
/**
* 监听 document content 变动的 hook
* A hook to monitor changes in document content
*/
export const useDocumentContentChange = (
/** 监听器 */
/** Listener */
listener: Listener,
/** 监听类型,默认监听所有 */
/** Listen type, listen to all by default */
listenType?: WorkflowContentChangeType,
) => {
const workflowDocument = useService<WorkflowDocument>(WorkflowDocument);