|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
<ai-history></ai-history>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right-container">
|
|
|
|
|
<router-view></router-view>
|
|
|
|
|
<router-view :key="route.fullPath"></router-view>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -47,7 +47,10 @@ const getCurrentRoute = path => {
|
|
|
|
|
return route.path.includes(path)
|
|
|
|
|
}
|
|
|
|
|
const handlerPath = (path)=>{
|
|
|
|
|
router.push(path + '/'+ Date.now())
|
|
|
|
|
router.push(path + '/'+ Date.now()).catch(()=>{
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
// router.replace(route.fullPath);
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|