style(credit): 格式化代码并移除未使用的方法
- 移除了 CreditSearchToolbar 组件中的未使用 add 方法 - 格式化了多个信用模块中的组件标签换行 - 格式化了 Ant Design 图标导入语句的换行 - 为表格列添加了排序功能 (sorter: true) - 格式化了 creditGqdj 模块中的长对象属性换行 - 格式化了 creditNearbyCompany 模块中的注释和表格配置 - 移除了重复的 sorter 属性配置
This commit is contained in:
@@ -78,7 +78,10 @@
|
||||
<script lang="ts" setup>
|
||||
import { createVNode, ref } from 'vue';
|
||||
import { message, Modal } from 'ant-design-vue';
|
||||
import { ExclamationCircleOutlined, CloudUploadOutlined } from '@ant-design/icons-vue';
|
||||
import {
|
||||
ExclamationCircleOutlined,
|
||||
CloudUploadOutlined
|
||||
} from '@ant-design/icons-vue';
|
||||
import type { EleProTable } from 'ele-admin-pro';
|
||||
import { toDateString } from 'ele-admin-pro';
|
||||
import type {
|
||||
@@ -230,8 +233,9 @@
|
||||
width: 180,
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
sorter: true,
|
||||
customRender: ({ text }) => toDateString(text, 'yyyy-MM-dd HH:mm:ss')
|
||||
},
|
||||
}
|
||||
// {
|
||||
// title: '操作',
|
||||
// key: 'action',
|
||||
|
||||
Reference in New Issue
Block a user