chore: fix some type errors in '/r' route
This commit is contained in:
parent
3084a40729
commit
5e8fbc6552
1 changed files with 3 additions and 2 deletions
|
|
@ -124,6 +124,7 @@ export default defineComponent({
|
|||
shortcodeDetails,
|
||||
reloadApplication,
|
||||
t,
|
||||
route,
|
||||
IconHome,
|
||||
IconRefreshCW,
|
||||
}
|
||||
|
|
@ -135,8 +136,8 @@ export default defineComponent({
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
if (typeof this.$route.params.id === "string") {
|
||||
this.shortcodeID = this.$route.params.id
|
||||
if (typeof this.route.params.id === "string") {
|
||||
this.shortcodeID = this.route.params.id
|
||||
}
|
||||
this.invalidLink = !this.shortcodeID
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue