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

This commit is contained in:
YunaiV
2025-11-25 21:13:46 +08:00
parent b4a679dd08
commit eb27bd5c6d
22 changed files with 52 additions and 44 deletions

View File

@@ -23,7 +23,7 @@ import VoicePlayer from '#/views/mp/components/wx-voice-play/wx-voice-play.vue';
// TODO @hw代码风格看看 antd 和 ele 是不是统一下; 等antd此组件修改完再调整
/** 微信素材选择 */
defineOptions({ name: 'MaterialSelect' });
defineOptions({ name: 'WxMaterialSelect' });
const props = withDefaults(
defineProps<{
@@ -39,13 +39,14 @@ const props = withDefaults(
const emit = defineEmits<{
(e: 'selectMaterial', item: any): void;
}>();
const loading = ref(false); // 遮罩层
const total = ref(0); // 总条数
const list = ref<any[]>([]); // 数据列表
const queryParams = reactive({
accountId: props.accountId,
pageNo: 1,
pageSize: 10,
accountId: props.accountId,
}); // 查询参数
/** 选择素材 */