mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
[优化] WAF 界面优化
This commit is contained in:
-1
@@ -41,7 +41,6 @@ export function ConfigVersionSnapshotModal({
|
||||
isOpen={Boolean(version)}
|
||||
onClose={onClose}
|
||||
title={version ? `版本 ${version.version}` : '查看快照'}
|
||||
description="在弹窗中查看快照 JSON 与渲染结果。"
|
||||
size="xl"
|
||||
footer={
|
||||
<div className="flex justify-end">
|
||||
|
||||
@@ -442,7 +442,6 @@ export function ConfigVersionsPage() {
|
||||
message: `发布成功,版本 ${version.version}`,
|
||||
});
|
||||
setPublishPreview(null);
|
||||
setSelectedVersionId(version.id);
|
||||
await queryClient.invalidateQueries({ queryKey: versionsQueryKey });
|
||||
},
|
||||
onError: (error) => {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user