feat:【antd】【mp】mp 的代码评审(material)

This commit is contained in:
YunaiV
2025-11-20 21:25:46 +08:00
parent e2848653f9
commit 53ef992d1e
2 changed files with 4 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
import { MpMsgType } from '@vben/constants'; import { MpMsgType } from '@vben/constants';
import { IconifyIcon } from '@vben/icons'; import { IconifyIcon } from '@vben/icons';
// TODO @hw貌似这个 antd 才有ele 需要有么?
import { import {
WxLocation, WxLocation,
WxMusic, WxMusic,

View File

@@ -5,6 +5,7 @@ import { useAccess } from '@vben/access';
import { DocAlert, Page } from '@vben/common-ui'; import { DocAlert, Page } from '@vben/common-ui';
import { IconifyIcon } from '@vben/icons'; import { IconifyIcon } from '@vben/icons';
// TODO @dlyan、@hw可以先 antd 迁移完,在搞 ele避免搞两遍
import { import {
Button, Button,
Card, Card,
@@ -116,6 +117,8 @@ async function handleDelete(id: number) {
<Card :bordered="false" class="mt-4 h-[88%]"> <Card :bordered="false" class="mt-4 h-[88%]">
<Tabs v-model:active-key="type" @change="onTabChange"> <Tabs v-model:active-key="type" @change="onTabChange">
<!-- tab 1图片 --> <!-- tab 1图片 -->
<!-- TODO @hw要不这里也改成 grid 视图然后操作按钮都改成右上角 -->
<!-- TODO @hw图片展示时就编号文件名图片上传时间操作 -->
<Tabs.TabPane :key="UploadType.Image"> <Tabs.TabPane :key="UploadType.Image">
<template #tab> <template #tab>
<span class="flex items-center"> <span class="flex items-center">