From 710424c1f5b59c414fc4a1d913883e66be17d909 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 14 May 2026 16:26:35 +0800 Subject: [PATCH] chore: remove unused FormValueType and update snapshot Remove unused FormValueType type alias in UpdateForm.tsx (flagged by Biome lint). Update test snapshot for antd 6.4.0. Co-Authored-By: Claude Opus 4.7 --- .../table-list/components/UpdateForm.tsx | 8 ---- .../login/__snapshots__/login.test.tsx.snap | 48 +++++++++++-------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/pages/table-list/components/UpdateForm.tsx b/src/pages/table-list/components/UpdateForm.tsx index 731875a3..3523715e 100644 --- a/src/pages/table-list/components/UpdateForm.tsx +++ b/src/pages/table-list/components/UpdateForm.tsx @@ -12,14 +12,6 @@ import { Modal, message } from 'antd'; import React, { cloneElement, useCallback, useState } from 'react'; import { updateRule } from '@/services/ant-design-pro/api'; -type FormValueType = { - target?: string; - template?: string; - type?: string; - time?: string; - frequency?: string; -} & Partial; - type UpdateFormProps = { trigger?: React.ReactElement; onOk?: () => void; diff --git a/src/pages/user/login/__snapshots__/login.test.tsx.snap b/src/pages/user/login/__snapshots__/login.test.tsx.snap index ffdfd20d..6244e5ee 100644 --- a/src/pages/user/login/__snapshots__/login.test.tsx.snap +++ b/src/pages/user/login/__snapshots__/login.test.tsx.snap @@ -884,27 +884,35 @@ exports[`Login Page should show login form 1`] = ` class="ant-input-suffix" > - + + @@ -948,7 +956,7 @@ exports[`Login Page should show login form 1`] = ` type="button" > - Login + 登 录