review:【antd/ele】【MP】代码迁移的 review

This commit is contained in:
YunaiV
2025-12-15 14:27:09 +08:00
parent 43f3303ad2
commit 3088fb3d46
7 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { MpMaterialApi } from '#/api/mp/material';
import { computed, provide, ref } from 'vue';
import { provide, ref } from 'vue';
import { useAccess } from '@vben/access';
import { confirm, DocAlert, Page } from '@vben/common-ui';

View File

@@ -493,6 +493,7 @@ watch(
</template>
</VoiceGrid>
</div>
<!-- 类型video -->
<div v-else-if="props.type === 'video'">
<VideoGrid>
@@ -507,6 +508,7 @@ watch(
</template>
</VideoGrid>
</div>
<!-- 类型news -->
<div v-else-if="props.type === 'news'" class="news-grid-wrapper">
<NewsGrid>

View File

@@ -2,7 +2,7 @@
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { MpMaterialApi } from '#/api/mp/material';
import { computed, provide, ref } from 'vue';
import { provide, ref } from 'vue';
import { useAccess } from '@vben/access';
import { confirm, DocAlert, Page } from '@vben/common-ui';

View File

@@ -1,2 +1 @@
// TODO @xingyu【待讨论】是不是把 user select 放到 user 目录的 components 下dept select 放到 dept 目录的 components 下
export { default as DeptSelectModal } from './dept-select-modal.vue';
export { default as DeptSelectModal } from './select-modal.vue';

View File

@@ -1,5 +1,5 @@
// TODO @
<script lang="ts" setup>
// TODO @jason /Users/yunai/Java/yudao-ui-admin-vben-v5/apps/web-antd/src/views/system/dept/components/select-modal.vue ~
import type { SystemDeptApi } from '#/api/system/dept';
import { nextTick, ref } from 'vue';

View File

@@ -1 +1 @@
export { default as UserSelectModal } from './user-select-modal.vue';
export { default as UserSelectModal } from './select-modal.vue';

View File

@@ -1,6 +1,5 @@
<script lang="ts" setup>
// TODO @
// TODO @xingyu systeminfra components
// TODO @jason /Users/yunai/Java/yudao-ui-admin-vben-v5/apps/web-antd/src/views/system/user/components/select-modal.vue ~
import type { SystemDeptApi } from '#/api/system/dept';
import type { SystemUserApi } from '#/api/system/user';