feat: 优化表格
自动部署 / build (push) Successful in 1m29s
Details
自动部署 / build (push) Successful in 1m29s
Details
parent
c8dc40127a
commit
c489f3b0cf
|
|
@ -1,10 +1,9 @@
|
||||||
import { AnForm, AnFormInstance, AnFormProps } from '@/components/AnForm';
|
import { AnForm, AnFormInstance, AnFormModal, AnFormModalInstance, AnFormModalProps, AnFormProps } from '@/components/AnForm';
|
||||||
import { AnFormModal, AnFormModalInstance, AnFormModalProps } from '@/components/AnForm';
|
import AniEmpty from '@/components/empty/AniEmpty.vue';
|
||||||
import { TableColumnData, TableData, Table, Button, PaginationProps, TableInstance } from '@arco-design/web-vue';
|
import { Button, PaginationProps, Table, TableColumnData, TableData, TableInstance } from '@arco-design/web-vue';
|
||||||
import { isArray, isFunction, merge } from 'lodash-es';
|
import { isArray, isFunction, merge } from 'lodash-es';
|
||||||
import { InjectionKey, PropType, Ref, defineComponent, ref } from 'vue';
|
import { InjectionKey, PropType, Ref, defineComponent, ref } from 'vue';
|
||||||
import { PluginContainer } from '../hooks/useTablePlugin';
|
import { PluginContainer } from '../hooks/useTablePlugin';
|
||||||
import AniEmpty from '@/components/empty/AniEmpty.vue';
|
|
||||||
|
|
||||||
type DataFn = (filter: { page: number; size: number; [key: string]: any }) => any | Promise<any>;
|
type DataFn = (filter: { page: number; size: number; [key: string]: any }) => any | Promise<any>;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ export const usePassworModal = () => {
|
||||||
field: "password",
|
field: "password",
|
||||||
label: ({ model }) => (
|
label: ({ model }) => (
|
||||||
<span>
|
<span>
|
||||||
设置 <span class="text-brand-500 font-semibold">{model.nickname}</span> 的新密码:
|
设置 {model.nickname} 的新密码:
|
||||||
</span>
|
</span>
|
||||||
),
|
),
|
||||||
type: "input",
|
type: "input",
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ declare module '@vue/runtime-core' {
|
||||||
ACheckbox: typeof import('@arco-design/web-vue')['Checkbox']
|
ACheckbox: typeof import('@arco-design/web-vue')['Checkbox']
|
||||||
ACheckboxGroup: typeof import('@arco-design/web-vue')['CheckboxGroup']
|
ACheckboxGroup: typeof import('@arco-design/web-vue')['CheckboxGroup']
|
||||||
AConfigProvider: typeof import('@arco-design/web-vue')['ConfigProvider']
|
AConfigProvider: typeof import('@arco-design/web-vue')['ConfigProvider']
|
||||||
ADatePicker: typeof import('@arco-design/web-vue')['DatePicker']
|
|
||||||
ADivider: typeof import('@arco-design/web-vue')['Divider']
|
ADivider: typeof import('@arco-design/web-vue')['Divider']
|
||||||
ADoption: typeof import('@arco-design/web-vue')['Doption']
|
ADoption: typeof import('@arco-design/web-vue')['Doption']
|
||||||
ADrawer: typeof import('@arco-design/web-vue')['Drawer']
|
ADrawer: typeof import('@arco-design/web-vue')['Drawer']
|
||||||
|
|
@ -54,8 +53,6 @@ declare module '@vue/runtime-core' {
|
||||||
ASpace: typeof import('@arco-design/web-vue')['Space']
|
ASpace: typeof import('@arco-design/web-vue')['Space']
|
||||||
ASpin: typeof import('@arco-design/web-vue')['Spin']
|
ASpin: typeof import('@arco-design/web-vue')['Spin']
|
||||||
ASwitch: typeof import('@arco-design/web-vue')['Switch']
|
ASwitch: typeof import('@arco-design/web-vue')['Switch']
|
||||||
ATabPane: typeof import('@arco-design/web-vue')['TabPane']
|
|
||||||
ATabs: typeof import('@arco-design/web-vue')['Tabs']
|
|
||||||
ATag: typeof import('@arco-design/web-vue')['Tag']
|
ATag: typeof import('@arco-design/web-vue')['Tag']
|
||||||
ATextarea: typeof import('@arco-design/web-vue')['Textarea']
|
ATextarea: typeof import('@arco-design/web-vue')['Textarea']
|
||||||
ATooltip: typeof import('@arco-design/web-vue')['Tooltip']
|
ATooltip: typeof import('@arco-design/web-vue')['Tooltip']
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export const delOptions: ModalConfig = {
|
||||||
content: '危险操作,确定删除该数据吗?',
|
content: '危险操作,确定删除该数据吗?',
|
||||||
maskClosable: false,
|
maskClosable: false,
|
||||||
closable: false,
|
closable: false,
|
||||||
okText: '确定',
|
okText: '确定删除',
|
||||||
okButtonProps: {
|
okButtonProps: {
|
||||||
status: 'danger',
|
status: 'danger',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue