摘要:
以下是我的测试组件中: import React, { useEffect, useState } from 'react'; export default function Home() { const [obj, setObj] = useState({ a: { t: 1 }, b: { t: 阅读全文
posted @ 2026-02-03 16:50
ฅ˙-˙ฅ
阅读(2)
评论(3)
推荐(0)
摘要:
组件中使用model时候,一定要监听到具体的字段: 比如 const { handlingPhone } = useModel("common", (model) => ({ handlingPhone: model.handlingPhone, })); 不要图省事直接写 const { hand 阅读全文
posted @ 2026-02-03 15:45
ฅ˙-˙ฅ
阅读(0)
评论(0)
推荐(0)

浙公网安备 33010602011771号