/** * 获取语种 */ export const getLocale = function() { const language = uni.getStorageSync('language') return language || 'zh-cn' }