replace i18n filter

This commit is contained in:
MaysWind
2021-01-24 01:09:01 +08:00
parent d913bdceaa
commit 0e642821eb
11 changed files with 17 additions and 26 deletions
+3
View File
@@ -0,0 +1,3 @@
export default function ({i18n}, text, options) {
return i18n.t(text, options || {});
}