fix warnings

This commit is contained in:
2021-09-24 14:28:45 +08:00
parent 0ba2f8dbd6
commit 1e07996a42
5 changed files with 14 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ const { search } = location
if (search && search.indexOf('?') !== -1) {
const { invite } = qs.parse(location.search.slice(1))
invite && localStorage.setItem(INVITE_CODE, invite)
invite && localStorage.setItem(INVITE_CODE, invite as string)
}
watch(route, (to: RouteLocationNormalizedLoaded) => {