|
@@ -76,7 +76,7 @@
|
|
|
const addressPageRef = ref()
|
|
|
const handleSubmit = () => {
|
|
|
const selected = addressPageRef.value?.getSelected() || []
|
|
|
- if (!selected?.length) return Snackbar.warning('请选择收货地址')
|
|
|
+ if (!selected) return Snackbar.warning('请选择收货地址')
|
|
|
changeConsignee(selected)
|
|
|
selectAddress.value = false
|
|
|
}
|