|
|
@@ -3,7 +3,7 @@
|
|
|
<a-button v-if="isAdd" type="primary" @click="addRow"> 新增 </a-button>
|
|
|
<BasicTable @register="registerTable" @edit-change="onEditChange">
|
|
|
<template #action="{ record, column }">
|
|
|
- <div class="vent-flex-row">
|
|
|
+ <div class="vent-flex-row justify-center items-center">
|
|
|
<TableAction :actions="createActions(record, column)" />
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -17,7 +17,6 @@
|
|
|
import { defineComponent, ref, nextTick, watch } from 'vue';
|
|
|
import { BasicTable, useTable, TableAction, BasicColumn, ActionItem, EditRecordRow } from '/@/components/Table';
|
|
|
import { useMessage } from '/@/hooks/web/useMessage';
|
|
|
- import { string } from 'vue-types';
|
|
|
// import { nextTick } from 'process';
|
|
|
|
|
|
export default defineComponent({
|
|
|
@@ -90,7 +89,7 @@
|
|
|
autoSubmitOnEnter: true,
|
|
|
},
|
|
|
actionColumn: {
|
|
|
- width: 160,
|
|
|
+ width: 130,
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
slots: { customRender: 'action' },
|
|
|
@@ -120,7 +119,7 @@
|
|
|
rowSelection: !props.isRadio ? undefined : { type: 'radio', onChange: rowChange },
|
|
|
tableSetting: { fullScreen: true },
|
|
|
actionColumn: {
|
|
|
- width: 160,
|
|
|
+ width: 130,
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
slots: { customRender: 'action' },
|