mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
feat(course): 支持考试类型资源的选择与上传
- 新增试卷列表获取逻辑,支持考试类型资源展示 - 优化文件上传校验,统一获取文件类型与大小限制 - 调整课程列表请求方法名,增强代码可读性 - 移除冗余的showDialog响应式变量 - 新增自定义考试按钮,区分不同资源类型的上传入口 - 更新文件基础URL配置,使用环境变量动态设置 - 引入试卷相关API模块,支持考试资源操作接口调用 - 扩展useCreateCourseMaps钩子,增加获取试卷列表方法
This commit is contained in:
@@ -24,7 +24,7 @@ export function useMediaComponent(props, emit) {
|
||||
emit("update:dialogVideoForm", { ...localDialogVideoForm.value });
|
||||
};
|
||||
|
||||
const fileBaseUrl = "http://home.hzer.xyz:9960/upload";
|
||||
const fileBaseUrl = `${process.env.VUE_APP_BOE_API_URL}/upload`;
|
||||
|
||||
return {
|
||||
localDialogVideoForm,
|
||||
|
||||
Reference in New Issue
Block a user