init: antdv-next

This commit is contained in:
dap
2026-01-08 20:56:07 +08:00
parent 1383f63361
commit a208034539
251 changed files with 417 additions and 401 deletions

View File

@@ -5,7 +5,7 @@ import type { MenuOption } from '#/api/system/menu/model';
import { eachTree, treeToList } from '@vben/utils';
import { notification } from 'ant-design-vue';
import { notification } from 'antdv-next';
import { difference, isEmpty, isUndefined } from 'lodash-es';
/**

View File

@@ -1,10 +1,10 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import type { TourProps } from 'ant-design-vue';
import type { TourProps } from 'antdv-next';
import { defineComponent, ref } from 'vue';
import { useLocalStorage } from '@vueuse/core';
import { Tour } from 'ant-design-vue';
import { Tour } from 'antdv-next';
/**
* 全屏引导

View File

@@ -4,7 +4,7 @@
比如: 按钮下放目录 按钮下放菜单 按钮下放按钮
-->
<script setup lang="tsx">
import type { RadioChangeEvent } from 'ant-design-vue';
import type { RadioChangeEvent } from 'antdv-next';
import type { MenuPermissionOption } from './data';
@@ -15,7 +15,7 @@ import { nextTick, onMounted, ref, shallowRef, watch } from 'vue';
import { cloneDeep, findGroupParentIds } from '@vben/utils';
import { Alert, Checkbox, RadioGroup, Space } from 'ant-design-vue';
import { Alert, Checkbox, RadioGroup, Space } from 'antdv-next';
import { uniq } from 'lodash-es';
import { useVbenVxeGrid } from '#/adapter/vxe-table';

View File

@@ -1,12 +1,12 @@
<script setup lang="ts">
import type { CheckboxChangeEvent } from 'ant-design-vue/es/checkbox/interface';
import type { DataNode } from 'ant-design-vue/es/tree';
import type { CheckboxChangeEvent } from 'antdv-next/es/checkbox/interface';
import type { DataNode } from 'antdv-next/es/tree';
import { computed, nextTick, onMounted, ref } from 'vue';
import { treeToList } from '@vben/utils';
import { Checkbox, Tree } from 'ant-design-vue';
import { Checkbox, Tree } from 'antdv-next';
/** 需要禁止透传 */
defineOptions({ inheritAttrs: false });