review:【antd】【mp】components 组件

This commit is contained in:
YunaiV
2025-11-09 17:30:37 +08:00
parent 229ead48f1
commit 9fc5c7561e
20 changed files with 25 additions and 49 deletions

View File

@@ -14,8 +14,6 @@ import { UploadType, useBeforeUpload } from '#/utils/useUpload';
import { WxMaterialSelect } from '#/views/mp/modules/wx-material-select';
import { WxVoicePlayer } from '#/views/mp/modules/wx-voice-play';
// 设置上传的请求头部
const props = defineProps<{
modelValue: Reply;
}>();
@@ -24,8 +22,6 @@ const emit = defineEmits<{
(e: 'update:modelValue', v: Reply): void;
}>();
// 消息弹窗
const UPLOAD_URL = `${import.meta.env.VITE_BASE_URL}/admin-api/mp/material/upload-temporary`;
const HEADERS = { Authorization: `Bearer ${useAccessStore().accessToken}` };
const reply = computed<Reply>({
@@ -153,5 +149,3 @@ function selectMaterial(item: Reply) {
</Row>
</div>
</template>
<style lang="scss" scoped></style>