mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
perf: 优化国际化
This commit is contained in:
parent
479d3e3f39
commit
56e52a7dfd
@ -1793,3 +1793,8 @@ WiFi签到延迟时长为±1分钟。
|
||||
|
||||
产检假
|
||||
其他
|
||||
|
||||
更新提示
|
||||
团队成员「(*)」更新了内容,
|
||||
更新时间:(*)。
|
||||
点击【确定】加载最新内容。
|
||||
|
||||
@ -244,9 +244,16 @@ export default {
|
||||
case 'file':
|
||||
if (action == 'content') {
|
||||
if (this.value && data.id == this.fileId) {
|
||||
const contents = [
|
||||
'团队成员「' + info.nickname + '」更新了内容,',
|
||||
'更新时间:' + $A.dayjs(info.time).format("YYYY-MM-DD HH:mm:ss") + '。',
|
||||
'',
|
||||
'点击【确定】加载最新内容。'
|
||||
]
|
||||
$A.modalConfirm({
|
||||
title: "更新提示",
|
||||
content: '团队成员(' + info.nickname + ')更新了内容,<br/>更新时间:' + $A.dayjs(info.time).format("YYYY-MM-DD HH:mm:ss") + '。<br/><br/>点击【确定】加载最新内容。',
|
||||
language: false,
|
||||
title: this.$L("更新提示"),
|
||||
content: contents.map(item => `<p>${item ? this.$L(item) : ' '}</p>`).join(''),
|
||||
onOk: () => {
|
||||
this.getContent();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user