|
@@ -30,7 +30,17 @@ const placeholderEnum = {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const OpreateLock = props => {
|
|
const OpreateLock = props => {
|
|
|
- const { onConfirm, onCancel, loading, type, longleId, keyNum, prodList, upgradeProduct, ...resetModalProps } = props
|
|
|
|
|
|
|
+ const {
|
|
|
|
|
+ onConfirm,
|
|
|
|
|
+ onCancel,
|
|
|
|
|
+ loading,
|
|
|
|
|
+ type,
|
|
|
|
|
+ longleId,
|
|
|
|
|
+ keyNum,
|
|
|
|
|
+ prodList,
|
|
|
|
|
+ upgradeProduct,
|
|
|
|
|
+ ...resetModalProps
|
|
|
|
|
+ } = props
|
|
|
const [form] = Form.useForm()
|
|
const [form] = Form.useForm()
|
|
|
const dispatch = useDispatch()
|
|
const dispatch = useDispatch()
|
|
|
const scrollRef = useRef()
|
|
const scrollRef = useRef()
|
|
@@ -243,7 +253,8 @@ const OpreateLock = props => {
|
|
|
/>
|
|
/>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
- width="60vw"
|
|
|
|
|
|
|
+ // width="60vw"
|
|
|
|
|
+ width={type === lockTypeEnum.SALE || type === lockTypeEnum.CHANGE ? '60vw' : '520px'}
|
|
|
getContainer={() => document.getElementById('root')}
|
|
getContainer={() => document.getElementById('root')}
|
|
|
footer={
|
|
footer={
|
|
|
type !== lockTypeEnum.UPDATE &&
|
|
type !== lockTypeEnum.UPDATE &&
|