chore: fix some type errors in '/r' route
This commit is contained in:
@@ -124,6 +124,7 @@ export default defineComponent({
|
|||||||
shortcodeDetails,
|
shortcodeDetails,
|
||||||
reloadApplication,
|
reloadApplication,
|
||||||
t,
|
t,
|
||||||
|
route,
|
||||||
IconHome,
|
IconHome,
|
||||||
IconRefreshCW,
|
IconRefreshCW,
|
||||||
}
|
}
|
||||||
@@ -135,8 +136,8 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (typeof this.$route.params.id === "string") {
|
if (typeof this.route.params.id === "string") {
|
||||||
this.shortcodeID = this.$route.params.id
|
this.shortcodeID = this.route.params.id
|
||||||
}
|
}
|
||||||
this.invalidLink = !this.shortcodeID
|
this.invalidLink = !this.shortcodeID
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user