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

This commit is contained in:
YunaiV
2025-11-27 16:24:39 +08:00
parent a976ca88f6
commit 7d9285de96
12 changed files with 18 additions and 16 deletions

View File

@@ -8,8 +8,7 @@ import { IconifyIcon } from '@vben/icons';
import { ElButton, ElCol, ElDialog, ElRow } from 'element-plus';
import MaterialSelect from '#/views/mp/components/wx-material-select/wx-material-select.vue';
import News from '#/views/mp/components/wx-news/wx-news.vue';
import { WxMaterialSelect, WxNews } from '#/views/mp/components';
defineOptions({ name: 'TabNews' });
@@ -48,7 +47,7 @@ function onDelete() {
class="mx-auto mb-[10px] w-[280px] border border-[#eaeaea] p-[10px]"
v-if="reply.articles && reply.articles.length > 0"
>
<News :articles="reply.articles" />
<WxNews :articles="reply.articles" />
<ElCol class="pt-[10px] text-center">
<ElButton type="danger" circle @click="onDelete">
<IconifyIcon icon="lucide:trash-2" />
@@ -78,7 +77,7 @@ function onDelete() {
append-to-body
destroy-on-close
>
<MaterialSelect
<WxMaterialSelect
type="news"
:account-id="reply.accountId"
:news-type="newsType"