i18n: 替换所有硬编码文本为多语言配置

将项目中各处的硬编码字符串替换为国际化语言包调用,统一管理页面和组件的文案内容,方便后续多语言适配与维护
This commit is contained in:
2026-06-22 17:53:38 +08:00
parent 47098bddda
commit 4715f06b2f
19 changed files with 109 additions and 100 deletions

View File

@@ -318,9 +318,9 @@ export default {
let list = this.couponList;
if (res.data.is_exist == 1 && res.code < 0) {
msg = '您已领取过该优惠券,快去使用吧';
msg = this.$lang('goods.couponAlreadyClaimed');
} else if (res.code == 0) {
msg = '领取成功,快去使用吧';
msg = this.$lang('goods.couponClaimSuccess');
} else {
msg = res.message;
}