<script setup>
import useTagsViewStore from '@/store/modules/tagsView'
const route = useRoute();
const _route = Object.assign({}, route, { title: '新的名称' })
useTagsViewStore().updateVisitedView(_route);
</script>
刷新当前页签
<script setup>
import { getCurrentInstance } from 'vue';
const {proxy} = getCurrentInstance();
proxy.$tab.refreshPage();
</script>