fix(admin): 用户付款金额改为单击修改
This commit is contained in:
@@ -96,7 +96,7 @@ export function ProductNameEditableCell({
|
||||
)
|
||||
}
|
||||
|
||||
/** 用户付款金额:双击弹窗修改,保留修改原因并写入工单流转记录 */
|
||||
/** 用户付款金额:单击弹窗修改,保留修改原因并写入工单流转记录 */
|
||||
export function UserPaymentAmountEditableCell({
|
||||
order,
|
||||
onSaved,
|
||||
@@ -158,9 +158,12 @@ export function UserPaymentAmountEditableCell({
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
title={editable ? '双击修改用户付款金额' : undefined}
|
||||
title={editable ? '点击修改用户付款金额' : undefined}
|
||||
style={{ cursor: editable ? 'pointer' : 'default', whiteSpace: 'nowrap' }}
|
||||
onDoubleClick={openEditor}
|
||||
onClick={(event) => {
|
||||
event.stopPropagation()
|
||||
openEditor()
|
||||
}}
|
||||
>
|
||||
<Space size={4} align="center">
|
||||
<Typography.Text style={editable ? { color: 'rgba(0,0,0,0.65)' } : undefined}>
|
||||
|
||||
Reference in New Issue
Block a user