feature: 增加算子详情页;优化算子上传更新逻辑 (#64)

* feature: 增加算子详情页;优化算子上传更新逻辑
This commit is contained in:
hhhhsc701
2025-11-07 16:54:00 +08:00
committed by GitHub
parent 78f50ea520
commit 2138ba23c7
24 changed files with 338 additions and 456 deletions

View File

@@ -112,7 +112,11 @@ function DetailHeader<T>({
key={op.key}
{...op.confirm}
onConfirm={() => {
op?.confirm?.onConfirm?.();
if (op.onClick) {
op.onClick()
} else {
op?.confirm?.onConfirm?.();
}
}}
okType={op.danger ? "danger" : "primary"}
overlayStyle={{ zIndex: 9999 }}