File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 </route >
99
1010<script lang="ts" setup>
11+ import type { RouteLocationNormalizedLoaded } from ' vue-router/auto'
12+
1113const { t } = useI18n ()
1214
1315const { back } = useBack ()
1416
15- const route = useRoute ()
17+ const route = useRoute () as RouteLocationNormalizedLoaded < ' dynamic ' >
1618
1719const title = computed (() => {
1820 return route .params .id
Original file line number Diff line number Diff line change 99 ],
1010 "baseUrl" : " ." ,
1111 "module" : " ESNext" ,
12- "moduleResolution" : " node " ,
12+ "moduleResolution" : " Bundler " ,
1313 "paths" : {
1414 "@/*" : [
1515 " src/*"
1818 "resolveJsonModule" : true ,
1919 "types" : [
2020 " vite/client" ,
21- " @intlify/unplugin-vue-i18n/messages" ,
2221 " unplugin-vue-router/client" ,
2322 " vite-plugin-vue-layouts/client" ,
23+ " @intlify/unplugin-vue-i18n/messages" ,
2424 " vitest"
2525 ],
2626 "allowJs" : true ,
You can’t perform that action at this time.
0 commit comments