fix bug
This commit is contained in:
@@ -144,7 +144,6 @@ export const justNumber = () => {
|
||||
message: 'لطفا اطلاعات را به صورت عدد و نقطه وارد کنید'
|
||||
}
|
||||
}
|
||||
const walletCash = useWalletStore()
|
||||
let priceP = 0
|
||||
let methodP = 'cash'
|
||||
let amountP = 0
|
||||
@@ -152,6 +151,7 @@ let isBuyP = true
|
||||
let NumP = 0
|
||||
let gatewayP = false
|
||||
const checkNumber = async (_rule: Rule, value: number) => {
|
||||
const walletCash = useWalletStore()
|
||||
if (!value) {
|
||||
return Promise.reject('تعداد محصول را مشخص کنید')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user