个人中心签名添加质量参数,修复细节缺失问题

修复跳转同一页面,path一样,传递的参数不一样时页面不刷新问题
修复百度地图未能正确创建导致销毁时出现"使用了错误的类型或对象"的问题
pull/170/head
diantu 2023-10-11 13:51:41 +08:00
parent 8afd8e5703
commit 0cae772eb2
3 changed files with 4 additions and 3 deletions

View File

@ -313,7 +313,7 @@
})
onUnmounted(() => {
baiduMap.value && baiduMap.value.destroy()
baiduMap.value && baiduMap.value.baseLayerAdded && baiduMap.value.destroy()
})
defineExpose({

View File

@ -15,6 +15,7 @@
v-model:bgColor="bgColor"
:width="800"
:height="400"
:quality="1"
:is-crop="isCrop"
:line-width="lineWidth"
:line-color="lineColor"

View File

@ -52,7 +52,7 @@
<Tags v-if="!isMobile && layoutTagsOpen" />
<a-layout-content class="main-content-wrapper">
<div id="admin-ui-main" class="admin-ui-main">
<router-view v-slot="{ Component }">
<router-view v-slot="{ Component }" :key="route.fullPath">
<keep-alive :include="keepLiveRoute">
<component :is="Component" :key="route.name" v-if="routeShow" />
</keep-alive>
@ -145,7 +145,7 @@
<Tags v-if="!isMobile && layoutTagsOpen"></Tags>
<a-layout-content class="main-content-wrapper">
<div id="admin-ui-main" class="admin-ui-main">
<router-view v-slot="{ Component }">
<router-view v-slot="{ Component }" :key="route.fullPath">
<keep-alive :include="keepLiveRoute">
<component :is="Component" v-if="routeShow" :key="route.name" />
</keep-alive>