diff --git a/components.d.ts b/components.d.ts index 60deb63..7658ee4 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,18 +7,24 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { + AAvatar: typeof import('ant-design-vue/es')['Avatar'] AButton: typeof import('ant-design-vue/es')['Button'] ACard: typeof import('ant-design-vue/es')['Card'] ACardMeta: typeof import('ant-design-vue/es')['CardMeta'] ACol: typeof import('ant-design-vue/es')['Col'] + ADescriptions: typeof import('ant-design-vue/es')['Descriptions'] + ADescriptionsItem: typeof import('ant-design-vue/es')['DescriptionsItem'] + ADrawer: typeof import('ant-design-vue/es')['Drawer'] AEmpty: typeof import('ant-design-vue/es')['Empty'] AForm: typeof import('ant-design-vue/es')['Form'] AFormItem: typeof import('ant-design-vue/es')['FormItem'] AInput: typeof import('ant-design-vue/es')['Input'] + AInputPassword: typeof import('ant-design-vue/es')['InputPassword'] AInputSearch: typeof import('ant-design-vue/es')['InputSearch'] ALayout: typeof import('ant-design-vue/es')['Layout'] ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent'] ALayoutSider: typeof import('ant-design-vue/es')['LayoutSider'] + AModal: typeof import('ant-design-vue/es')['Modal'] ApiSelect: typeof import('./src/components/core/schema-form/src/components/ApiSelect.vue')['default'] ARow: typeof import('ant-design-vue/es')['Row'] ASpace: typeof import('ant-design-vue/es')['Space'] diff --git a/src/views/question/issue/index.vue b/src/views/question/issue/index.vue index 0ddcd2e..3e2fd15 100644 --- a/src/views/question/issue/index.vue +++ b/src/views/question/issue/index.vue @@ -265,10 +265,11 @@ icon: 'delete', color: '#ec6f6f', label: '删除', - popConfirm: { - title: '确定要删除吗?', - onConfirm: () => handleDelete(record.id), - }, + onClick: () => handleDelete(record.id), + // popConfirm: { + // title: '确定要删除吗?', + // onConfirm: () => handleDelete(record.id), + // }, }, ]; }, diff --git a/src/views/question/knowledge/index.vue b/src/views/question/knowledge/index.vue index e5d27e8..a09bb79 100644 --- a/src/views/question/knowledge/index.vue +++ b/src/views/question/knowledge/index.vue @@ -228,10 +228,11 @@ icon: 'delete', color: '#ec6f6f', label: '删除', - popConfirm: { - title: '确定要删除吗?', - onConfirm: () => handleDelete(record.id), - }, + onClick: () => handleDelete(record.id), + // popConfirm: { + // title: '确定要删除吗?', + // onConfirm: () => handleDelete(record.id), + // }, }, ]; }, diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index ff91088..334048c 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -103,10 +103,11 @@ icon: 'delete', color: '#ec6f6f', label: '删除', - popConfirm: { - title: '确定要删除吗?', - onConfirm: () => handleDelete(record.id), - }, + onClick: () => handleDelete(record.id), + // popConfirm: { + // title: '确定要删除吗?', + // onConfirm: () => handleDelete(record.id), + // }, }, ], },