fix(web): app message duration

This commit is contained in:
zhaoying
2026-03-27 18:14:57 +08:00
parent 930cadcaa8
commit c3e5c8b8bb
3 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 15:17:48
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-27 17:11:01
* @Last Modified time: 2026-03-27 18:14:38
*/
import { useRef, useEffect, useState } from 'react';
import { useParams } from 'react-router-dom';
@@ -1177,7 +1177,7 @@ export const useWorkflowGraph = ({
saveWorkflowConfig(config.app_id, params as WorkflowConfig)
.then((res) => {
if (flag) {
message.success(t('common.saveSuccess'))
message.success({ content: t('common.saveSuccess'), duration: 1 })
}
resolve(res)
}).catch(error => {