Skip to content

Commit 4a58620

Browse files
authored
Merge pull request #170 from miryuko/feat--文件箱标题区分收件箱和发件箱
feat: 文件箱标题区分收件箱和发件箱
2 parents 02e8dc4 + b0f7f88 commit 4a58620

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

fcb-fronted/src/components/FileBox.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ function getQrCodeUrl(code: string) {
7070
<el-drawer :append-to-body="true" v-model="fileBoxStore.showFileBox" direction="btt" style="max-width: 1080px;margin: auto;"
7171
size="400">
7272
<template #header>
73-
<h4>{{t('fileBox.fileBox')}}</h4>
73+
<h4 v-if="route.name=='home'">{{t('fileBox.receiveFileBox')}}</h4>
74+
<h4 v-else>{{t('fileBox.sendFileBox')}}</h4>
7475
</template>
7576
<template #default>
7677
<div v-if="route.name=='home'" style="display: flex;flex-wrap: wrap;justify-content: center">

fcb-fronted/src/locals/en.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default {
3131
fileBox: {
3232
copySuccess: 'Copied successfully',
3333
inputNotEmpty: 'Please enter the five-digit pickup code',
34-
fileBox: 'File Box',
34+
sendFileBox: 'Send File Box',
35+
receiveFileBox: 'Receive File Box',
3536
textDetail: 'Text Detail',
3637
copy: 'Copy',
3738
close: 'Close',

fcb-fronted/src/locals/zh.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default {
3131
fileBox: {
3232
copySuccess: '复制成功',
3333
inputNotEmpty: '请输入五位取件码',
34-
fileBox: '文件箱',
34+
sendFileBox: '发件箱',
35+
receiveFileBox: '收件箱',
3536
textDetail: '文本详情',
3637
copy: '复 制',
3738
close: '关 闭',

0 commit comments

Comments
 (0)