移除 PurchaseForm 和 Right 组件中的调试日志

This commit is contained in:
2025-04-22 15:40:41 +08:00
parent 38ca97f3ba
commit 22d3b8f3e3
3 changed files with 2 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
## TODO ## TODO
引入 redis客户端密钥使用 redis 保存
使用 pure js 的包代替 canvas加快编译速度 使用 pure js 的包代替 canvas加快编译速度
重新设计验证逻辑,通过全局 cache 优化请求效率,使用服务端组件实现验证 重新设计验证逻辑,通过全局 cache 优化请求效率,使用服务端组件实现验证
@@ -18,5 +20,3 @@
页面数据: 页面数据:
- [ ] dashboard - [ ] dashboard

View File

@@ -35,8 +35,6 @@ export const PurchaseFormContext = createContext<PurchaseFormContextType | undef
export type PurchaseFormProps = {} export type PurchaseFormProps = {}
export default function PurchaseForm(props: PurchaseFormProps) { export default function PurchaseForm(props: PurchaseFormProps) {
console.log('PurchaseForm render')
const form = useForm<Schema>({ const form = useForm<Schema>({
resolver: zodResolver(schema), resolver: zodResolver(schema),
defaultValues: { defaultValues: {

View File

@@ -15,8 +15,6 @@ import Pay from '@/components/composites/purchase/_client/pay'
export type RightProps = {} export type RightProps = {}
export default function Right(props: RightProps) { export default function Right(props: RightProps) {
console.log('Right render')
const authCtx = useContext(AuthContext) const authCtx = useContext(AuthContext)
const profile = authCtx.profile const profile = authCtx.profile