chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user