优化登录

This commit is contained in:
2022-06-27 20:32:59 +08:00
parent 3d349d405a
commit ba8d57c0e3
15 changed files with 241 additions and 33 deletions
@@ -58,8 +58,17 @@ export default memo(({show, onClose, orderId}:Param) => {
//提交
const onSubmit = () => {
getApplyRefund()
const onSubmit = (val) => {
if(val == 2) {
getApplyRefund()
} else {
onClose?.()
submitData.current = {
return_explain: 0,
sale_order_id: 0,
reason_describe: ''
}
}
}