@@ -169,7 +169,7 @@ const formRules: { [key: string]: FieldRule[] } = {
message: '请输入止损价格',
validator: () => {
if (formData.SLFlag) {
- const value = Number(formData.SLFlag)
+ const value = Number(formData.SLPrice)
const isInvalid = props.selectedRow.buyorsell === BuyOrSell.Buy ? value > pricePoints.value.stopLoss : value < pricePoints.value.stopLoss
return isInvalid ? '价格不在有效范围内' : true
}
@@ -82,8 +82,6 @@ const digitalCurrentyList = getDigitalCurrencyList()
const state = reactive({
showSheet: false,
- showDialog: false,
- qrContent: '',
tokenId: 0
})