fix web
This commit is contained in:
@@ -29,8 +29,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleConfirm = () => {
|
const handleConfirm = () => {
|
||||||
if (!point) return;
|
if (!point) {
|
||||||
|
dispatch('cancel');
|
||||||
|
} else {
|
||||||
dispatch('confirm', point);
|
dispatch('confirm', point);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user