perf: 优化国际化语言

This commit is contained in:
kuaifan 2024-11-02 09:40:10 +08:00
parent bd15915648
commit cbfcdbf836
4 changed files with 25 additions and 0 deletions

View File

@ -694,3 +694,18 @@ webhook地址最长仅支持255个字符。
(*)时 (*)时
(*)分 (*)分
小时 小时
外出
请假
加班
离职申请
录用申请
年假
事假
病假
调休
产假
陪产假
婚假
丧假
哺乳假

View File

@ -1753,3 +1753,5 @@ WiFi签到延迟时长为±1分钟。
你确定要还原归档子任务【(*)】吗? 你确定要还原归档子任务【(*)】吗?
请使用(*)移动端扫描二维码。 请使用(*)移动端扫描二维码。
没有找到相关消息

View File

@ -1295,6 +1295,9 @@ export default {
if (this.searchKey !== key) { if (this.searchKey !== key) {
return return
} }
if (data.data.length === 0) {
$A.messageWarning('没有找到相关消息')
}
this.searchResult = data.data this.searchResult = data.data
this.searchLocation = this.searchResult.length this.searchLocation = this.searchResult.length
}).finally(_ => { }).finally(_ => {
@ -1454,6 +1457,7 @@ export default {
this.msgNew = 0 this.msgNew = 0
this.msgType = '' this.msgType = ''
this.searchKey = ''
this.unreadOne = 0 this.unreadOne = 0
this.scrollTail = 0 this.scrollTail = 0
this.scrollOffset = 0 this.scrollOffset = 0

View File

@ -22,6 +22,7 @@
.approve-nav { .approve-nav {
flex: 1; flex: 1;
width: 0;
display: flex; display: flex;
align-items: center; align-items: center;
@ -29,6 +30,9 @@
color: $primary-title-color; color: $primary-title-color;
font-size: 28px; font-size: 28px;
font-weight: 600; font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }