perf: 优化国际化

This commit is contained in:
kuaifan 2024-11-18 17:15:01 +08:00
parent 479d3e3f39
commit 56e52a7dfd
2 changed files with 14 additions and 2 deletions

View File

@ -1793,3 +1793,8 @@ WiFi签到延迟时长为±1分钟。
产检假 产检假
其他 其他
更新提示
团队成员「(*)」更新了内容,
更新时间:(*)。
点击【确定】加载最新内容。

View File

@ -244,9 +244,16 @@ export default {
case 'file': case 'file':
if (action == 'content') { if (action == 'content') {
if (this.value && data.id == this.fileId) { if (this.value && data.id == this.fileId) {
const contents = [
'团队成员「' + info.nickname + '」更新了内容,',
'更新时间:' + $A.dayjs(info.time).format("YYYY-MM-DD HH:mm:ss") + '。',
'',
'点击【确定】加载最新内容。'
]
$A.modalConfirm({ $A.modalConfirm({
title: "更新提示", language: false,
content: '团队成员(' + info.nickname + ')更新了内容,<br/>更新时间:' + $A.dayjs(info.time).format("YYYY-MM-DD HH:mm:ss") + '。<br/><br/>点击【确定】加载最新内容。', title: this.$L("更新提示"),
content: contents.map(item => `<p>${item ? this.$L(item) : '&nbsp;'}</p>`).join(''),
onOk: () => { onOk: () => {
this.getContent(); this.getContent();
} }