refactor: 替换页面中硬编码文本为多语言配置
将项目中多处页面的硬编码字符串替换为国际化语言包调用,统一文本管理,方便后续多语言扩展和维护
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-else><ns-empty :isIndex="false" text="暂无余额明细"></ns-empty></block>
|
||||
<block v-else><ns-empty :isIndex="false" :text="$lang('balance.noBalanceDetail')"></ns-empty></block>
|
||||
<!-- 无明细列表 -->
|
||||
</block>
|
||||
</mescroll-uni>
|
||||
@@ -62,13 +62,13 @@ export default {
|
||||
return {
|
||||
dataList: [],
|
||||
statusList: [{
|
||||
name: '全部',
|
||||
name: this.$lang('form.all'),
|
||||
id: '0'
|
||||
}, {
|
||||
name: '收入',
|
||||
name: this.$lang('balance.income'),
|
||||
id: '1'
|
||||
}, {
|
||||
name: '支出',
|
||||
name: this.$lang('balance.expense'),
|
||||
id: '2'
|
||||
}],
|
||||
scrollInto: '',
|
||||
@@ -79,9 +79,9 @@ export default {
|
||||
date: ''
|
||||
},
|
||||
balanceType: [{
|
||||
label: '全部',
|
||||
label: this.$lang('form.all'),
|
||||
value: '0'
|
||||
}], //积分类型
|
||||
}], //余额类型
|
||||
balanceIndex: 0,
|
||||
related_id: 0
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user