[update 88300] 删除按钮红色
This commit is contained in:
+4
-4
@@ -57,7 +57,7 @@
|
||||
<template v-slot:action="{text, record}">
|
||||
<a v-if="showEditBtn" :disabled="disabled" @click="handleEdit(record)" class="table-ope-btn">{{ $t('edit') }}</a>
|
||||
<a-divider v-if="showEditBtn && showDeleteBtn" type="vertical" />
|
||||
<a v-if="showDeleteBtn" :disabled="disabled" @click="handleDelete(record[rowKey])" class="table-ope-btn">{{ $t('delete') }}</a>
|
||||
<a v-if="showDeleteBtn" :disabled="disabled" @click="handleDelete(record[rowKey])" class="operate-del-btn">{{ $t('delete') }}</a>
|
||||
</template>
|
||||
</j-table>
|
||||
<!--条文内容-->
|
||||
@@ -578,9 +578,9 @@ export default {
|
||||
* @param info
|
||||
*/
|
||||
handleImport (info) {
|
||||
// 限制导入大于500MB
|
||||
if (info.file.size > 1024 * 1024 * 500) {
|
||||
this.$message.error('导入文件最大500MB!')
|
||||
// 限制导入大于20MB
|
||||
if (info.file.size > 1024 * 1024 * 20) {
|
||||
this.$message.error(this.$t('importMaxMsg', { size: '20MB' }))
|
||||
info.fileList.pop()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user