chore: fix typescript type hint

This commit is contained in:
JaguarJack
2023-03-11 11:13:26 +08:00
parent 9dada7428a
commit a6a671def5
10 changed files with 72 additions and 54 deletions

View File

@@ -62,6 +62,7 @@ export default class CatchAdmin {
* @returns
*/
protected useElementPlus(): CatchAdmin {
// @ts-ignore
this.app.use(ElementPlus, {
locale: Cache.get('language') === 'zh' && zh,
})