refactor(i18n): 扁平化多语言文件结构,移除嵌套的components对象
统一调整所有组件级多语言配置,将原有的components.[componentName]嵌套结构改为直接顶层键值对,简化语言包的调用层级
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
export const lang = {
|
||||
// ns-contact 客服组件
|
||||
components: {
|
||||
nsContact: {
|
||||
// 弹窗标题
|
||||
contactService: '联系客服',
|
||||
// 客服电话提示: {phone} 为电话号码占位符
|
||||
callServiceTip: '请联系客服,客服电话是 {phone}',
|
||||
// 无客服提示
|
||||
noServiceOffline: '抱歉,商家暂无客服,请线下联系',
|
||||
},
|
||||
},
|
||||
// 弹窗标题
|
||||
contactService: '联系客服',
|
||||
// 客服电话提示: {phone} 为电话号码占位符
|
||||
callServiceTip: '请联系客服,客服电话是 {phone}',
|
||||
// 无客服提示
|
||||
noServiceOffline: '抱歉,商家暂无客服,请线下联系',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user