移除 PurchaseForm 和 Right 组件中的调试日志
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
引入 redis,客户端密钥使用 redis 保存
|
||||||
|
|
||||||
使用 pure js 的包代替 canvas,加快编译速度
|
使用 pure js 的包代替 canvas,加快编译速度
|
||||||
|
|
||||||
重新设计验证逻辑,通过全局 cache 优化请求效率,使用服务端组件实现验证
|
重新设计验证逻辑,通过全局 cache 优化请求效率,使用服务端组件实现验证
|
||||||
@@ -18,5 +20,3 @@
|
|||||||
|
|
||||||
页面数据:
|
页面数据:
|
||||||
- [ ] dashboard
|
- [ ] dashboard
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user