refactor(views): 移除未使用的getVxePopupContainer导入和属性
清理工作流分类、系统字典类型和数据视图中的冗余代码,移除不再需要的getVxePopupContainer工具函数导入及其相关属性配置
This commit is contained in:
parent
fbd5b64345
commit
29e0d0437e
@ -8,7 +8,6 @@ import type { DictData } from '#/api/system/dict/dict-data-model';
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { useVbenDrawer } from '@vben/common-ui';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Modal, Popconfirm, Space } from 'antdv-next';
|
||||
|
||||
@ -125,7 +124,7 @@ emitter.on('rowClick', async (value) => {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<BasicTable id="dict-data" table-title="字典数据列表">
|
||||
<BasicTable table-title="字典数据列表">
|
||||
<template #toolbar-tools>
|
||||
<Space>
|
||||
<a-button
|
||||
@ -162,9 +161,6 @@ emitter.on('rowClick', async (value) => {
|
||||
{{ $t('pages.common.edit') }}
|
||||
</ghost-button>
|
||||
<Popconfirm
|
||||
:get-popup-container="
|
||||
(node) => getVxePopupContainer(node, 'dict-data')
|
||||
"
|
||||
placement="left"
|
||||
title="确认删除?"
|
||||
@confirm="handleDelete(row)"
|
||||
|
||||
@ -7,7 +7,6 @@ import type { DictType } from '#/api/system/dict/dict-type-model';
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { useVbenModal } from '@vben/common-ui';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Modal, Popconfirm, Space } from 'antdv-next';
|
||||
|
||||
@ -133,7 +132,7 @@ function handleDownloadExcel() {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<BasicTable id="dict-type" table-title="字典类型列表">
|
||||
<BasicTable table-title="字典类型列表">
|
||||
<template #toolbar-tools>
|
||||
<Space>
|
||||
<a-button
|
||||
@ -175,9 +174,6 @@ function handleDownloadExcel() {
|
||||
{{ $t('pages.common.edit') }}
|
||||
</ghost-button>
|
||||
<Popconfirm
|
||||
:get-popup-container="
|
||||
(node) => getVxePopupContainer(node, 'dict-type')
|
||||
"
|
||||
placement="left"
|
||||
title="确认删除?"
|
||||
@confirm="handleDelete(row)"
|
||||
|
||||
@ -7,7 +7,6 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
import { Page, useVbenModal } from '@vben/common-ui';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Popconfirm, Space } from 'antdv-next';
|
||||
|
||||
@ -136,7 +135,6 @@ function collapseAll() {
|
||||
{{ $t('pages.common.add') }}
|
||||
</ghost-button>
|
||||
<Popconfirm
|
||||
|
||||
placement="left"
|
||||
title="确认删除?"
|
||||
@confirm="handleDelete(row)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user