fix(i18n): correct t:prefixed strings to ILabel objects for translation
This commit is contained in:
+2
-2
@@ -271,7 +271,7 @@ export class VueAdmin extends ShrimpClient {
|
||||
{
|
||||
path: "/login",
|
||||
component: () => import('./views/login.vue'),
|
||||
meta: { title: "t:login.signIn" }
|
||||
meta: { title: { t: 'login.signIn' } }
|
||||
},
|
||||
{
|
||||
path: "/:pathMatch(.*)",
|
||||
@@ -343,7 +343,7 @@ export class VueAdmin extends ShrimpClient {
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
ElMessage.error(this.t('t:base.netError'))
|
||||
ElMessage.error(this.t({ t: 'base.netError' }))
|
||||
throw error
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user