完善文档预览的效果修改

This commit is contained in:
2025-04-21 23:02:29 +08:00
parent 5c2c367856
commit cd2f060d87
15 changed files with 718 additions and 565 deletions
+5
View File
@@ -706,6 +706,11 @@ export default function RuleNew() {
const id = searchParams.get('id');
const mode = searchParams.get('mode');
// 编辑或复制模式下设置加载状态
if (id || mode === 'copy') {
setIsLoading(true);
}
// 设置编辑模式
if (mode && mode === 'copy') {
setIsEditMode(false);