Skip to content

Commit

Permalink
Merge pull request #170 from miryuko/feat--文件箱标题区分收件箱和发件箱
Browse files Browse the repository at this point in the history
feat: 文件箱标题区分收件箱和发件箱
  • Loading branch information
vastsa authored Jun 11, 2024
2 parents 02e8dc4 + b0f7f88 commit 4a58620
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion fcb-fronted/src/components/FileBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ function getQrCodeUrl(code: string) {
<el-drawer :append-to-body="true" v-model="fileBoxStore.showFileBox" direction="btt" style="max-width: 1080px;margin: auto;"
size="400">
<template #header>
<h4>{{t('fileBox.fileBox')}}</h4>
<h4 v-if="route.name=='home'">{{t('fileBox.receiveFileBox')}}</h4>
<h4 v-else>{{t('fileBox.sendFileBox')}}</h4>
</template>
<template #default>
<div v-if="route.name=='home'" style="display: flex;flex-wrap: wrap;justify-content: center">
Expand Down
3 changes: 2 additions & 1 deletion fcb-fronted/src/locals/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default {
fileBox: {
copySuccess: 'Copied successfully',
inputNotEmpty: 'Please enter the five-digit pickup code',
fileBox: 'File Box',
sendFileBox: 'Send File Box',
receiveFileBox: 'Receive File Box',
textDetail: 'Text Detail',
copy: 'Copy',
close: 'Close',
Expand Down
3 changes: 2 additions & 1 deletion fcb-fronted/src/locals/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default {
fileBox: {
copySuccess: '复制成功',
inputNotEmpty: '请输入五位取件码',
fileBox: '文件箱',
sendFileBox: '发件箱',
receiveFileBox: '收件箱',
textDetail: '文本详情',
copy: '复 制',
close: '关 闭',
Expand Down

0 comments on commit 4a58620

Please sign in to comment.