some component support i18n

some component support i18n
This commit is contained in:
梁灏 2017-01-11 21:02:55 +08:00
parent d33b51432d
commit 4ab118119a
13 changed files with 238 additions and 30 deletions

9
src/mixins/locale.js Normal file
View file

@ -0,0 +1,9 @@
import { t } from '../locale';
export default {
methods: {
t(...args) {
return t.apply(this, args);
}
}
};