some changeds
This commit is contained in:
@ -3,6 +3,7 @@ import { REGEX_PHONE } from '../utils/regex'
|
||||
import type { GenericResponse, GenericResponseItems, UserCart } from '~/types'
|
||||
import type {
|
||||
AddressesList,
|
||||
CheckoutAddress,
|
||||
CheckoutOrder,
|
||||
Payment,
|
||||
UserAddressOfficial,
|
||||
@ -323,12 +324,7 @@ export const useCheckoutStore = defineStore('checkoutStore', () => {
|
||||
fullPrice.value = Number(fullPrice.value) + Number(shippingPrice.value)
|
||||
}
|
||||
|
||||
interface Address {
|
||||
is_default: boolean | string
|
||||
country_iso: string
|
||||
}
|
||||
|
||||
const defaultAddress = ref<Address | undefined>()
|
||||
const defaultAddress = ref<CheckoutAddress | undefined>()
|
||||
|
||||
async function getDefAddress() {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user