|
@@ -43,10 +43,16 @@ defineExpose<QuiskExpose>({
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+
|
|
|
const searchAMapAddress = async () => {
|
|
|
const data = await selectMapImage({});
|
|
|
if (!data?.search) return;
|
|
|
+
|
|
|
bindExample.value.mapUrl = data.search.text;
|
|
|
- bindExample.value.latAndLong = `${data.search.lat},${data.search.lng}`;
|
|
|
+ bindExample.value.latlng = bindExample.value.latAndLong = `${data.search.lat},${data.search.lng}`;
|
|
|
+ if (!data.search.text) {
|
|
|
+ bindExample.value.mapUrl = bindExample.value.latAndLong;
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|