xbx #134

Merged
theluyuan merged 34 commits from xbx into master 2020-11-18 06:56:15 +00:00
Showing only changes of commit fc9a05636c - Show all commits

View File

@ -3,6 +3,7 @@ import en from "./en"
import { getset } from '@/api';
import { geti18n } from '@/utils/i18n';
import store from '@/store';
import { getValue } from '@/utils/common';
getset().then((res: any)=>{
zh.shichangtishi = `最短${res.timeLowerLimit}min, 最长${res.timeCeiling}min`
en.shichangtishi = `The shortest is ${res.timeLowerLimit}min and the longest is ${res.timeCeiling}min`
@ -20,7 +21,7 @@ getset().then((res: any)=>{
})
export default {
locale: "zh", //默认语言
locale: getValue("Lanvuage") || 'zh', //默认语言
messages: {
zh: zh,
en: en