几个小错误

This commit is contained in:
Xu Chang 2024-06-07 21:59:25 +08:00
parent 75ec0d1ffd
commit aed3686d16
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ export default function Render(props: WebComponentProps<EntityDict, 'pay', false
showTime
onChange={(value, dateString) => {
updateItem({
successAt: value.valueOf(),
successAt: value?.valueOf(),
}, spId);
}}
/>

View File

@ -19,7 +19,7 @@ function WpAccount(props: {
onRemove: () => void;
}) {
const { account, t, onUpdate, onRemove, oakFullpath, systemId } = props;
const { refundGapDays, mchId, enabled, price, refundLossFloor, refundLossRatio, taxLossRatio } = account;
const { refundGapDays, mchId, enabled, price, taxLossRatio } = account;
const legalActions = account['#oakLegalActions'];
const [activeKey, setActiveKey] = useState("1");