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