修改中英文切换

This commit is contained in:
qq787203167
2022-03-31 13:39:16 +08:00
parent 5151f0d336
commit 3846565972
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -567,5 +567,5 @@ module.exports = {
labelAreaDeleted:'If it is deleted, all label items under the display area will be deleted', labelAreaDeleted:'If it is deleted, all label items under the display area will be deleted',
searchInResults:'Search in results', searchInResults:'Search in results',
searchContent:'Search content', searchContent:'Search content',
seeFile:'see file', viewFile:'view file',
} }
+1 -1
View File
@@ -572,5 +572,5 @@ module.exports = {
StandardBreakdown:'标准分解单', StandardBreakdown:'标准分解单',
searchInResults:'结果中检索', searchInResults:'结果中检索',
searchContent:'搜索内容', searchContent:'搜索内容',
seeFile:'查看文件', viewFile:'查看文件',
} }
@@ -111,10 +111,9 @@
</span> </span>
<span slot="file_name" slot-scope="text,record"> <span slot="file_name" slot-scope="text,record">
<a style="color:#21c9cc" @click="fileNameClick(record)"> <a style="color:#21c9cc" @click="fileNameClick(record)">
{{record.file_name && record.file_name.length > 0 ? $t('seeFile') : '--'}} {{record.file_name && record.file_name.length > 0 ? $t('viewFile') : '--'}}
</a> </a>
</span> </span>
file_name
<!-- 字符串超长截取省略号显示--> <!-- 字符串超长截取省略号显示-->
<!-- <span slot="templateContent" slot-scope="text">--> <!-- <span slot="templateContent" slot-scope="text">-->
<!-- <j-ellipsis :value="text" :length="25"/>--> <!-- <j-ellipsis :value="text" :length="25"/>-->
@@ -208,7 +207,7 @@
ref="libraryPushRef" ref="libraryPushRef"
/> />
<a-modal <a-modal
:title="$t('seeFile')" :title="$t('viewFile')"
:width="500" :width="500"
:visible="visible" :visible="visible"
@ok="visible=false" @ok="visible=false"