🐛 Fixing a bug. excel导入国际化不对

This commit is contained in:
aeizzz 2023-03-09 18:29:13 +08:00
parent 18aa8a88b5
commit 8ffcb985b7

View File

@ -35,10 +35,10 @@
</el-dialog> </el-dialog>
<!--校验失败错误数据--> <!--校验失败错误数据-->
<el-dialog :title="$t('common.validationFailureData')" v-model="state.errorVisible"> <el-dialog :title="$t('excel.validationFailureData')" v-model="state.errorVisible">
<el-table :data="state.errorData"> <el-table :data="state.errorData">
<el-table-column property="lineNum" :label="$t('common.lineNumbers')" width="100"></el-table-column> <el-table-column property="lineNum" :label="$t('excel.lineNumbers')" width="100"></el-table-column>
<el-table-column property="errors" :label="$t('common.misDescription')" show-overflow-tooltip> <el-table-column property="errors" :label="$t('excel.misDescription')" show-overflow-tooltip>
<template v-slot="scope"> <template v-slot="scope">
<el-tag type="danger" v-for="error in scope.row.errors" :key="error">{{ error }} </el-tag> <el-tag type="danger" v-for="error in scope.row.errors" :key="error">{{ error }} </el-tag>
</template> </template>