Compare commits
2 Commits
51042c395a
...
54389b32ac
| Author | SHA1 | Date | |
|---|---|---|---|
| 54389b32ac | |||
| d8002a8265 |
@ -25,7 +25,7 @@
|
||||
<learn-more-card
|
||||
:title="$t('navigation.address')"
|
||||
:icon="ElIconMapLocation"
|
||||
:to="$localePath('/locate?lng=120.123&lat=30.231&name=xxx')"
|
||||
@click="openMap"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -44,6 +44,10 @@
|
||||
];
|
||||
const { data: companyProfile, pending, error } = await useCompanyProfile();
|
||||
|
||||
const openMap = () => {
|
||||
window.open(localePath('/locate'));
|
||||
};
|
||||
|
||||
watch(error, (value) => {
|
||||
if (value) {
|
||||
logger.error('数据获取失败: ', value);
|
||||
|
||||
Reference in New Issue
Block a user