fix: 修复多页面国际化文案调用路径错误

将多处误用的 common.前缀国际化调用改为顶层路径,同时新增语言调用错误的回归测试用例,防止后续再次出现类似的命名空间误用问题
This commit is contained in:
2026-07-23 10:37:22 +08:00
parent 94142268a0
commit 70a01bfd2b
4 changed files with 63 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ export default {
},
onLoad(options) {
this.config.text = this.$lang('goods.list.buyText') || this.$lang('common.buyNow');
this.config.text = this.$lang('goods.list.buyText') || this.$lang('buyNow');
this.$api.sendRequest({
url: '/api/lucky/status',