提交 87a62dd8 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 bf829ccd
......@@ -6,11 +6,7 @@ const props = defineProps<{ data: Record<string, any> }>()
const listOptions = {
remote: {
httpRequest: getCourseStudentList,
params: { course_id: props.data.id },
callback(res: any) {
console.log(res)
return { list: res, total: res.length }
}
params: { course_id: props.data.id }
},
columns: [
{ label: '序号', type: 'index', width: 60 },
......@@ -25,7 +21,7 @@ const listOptions = {
</script>
<template>
<el-dialog title="课程学员" :close-on-click-modal="false" width="800px" @update:modelValue="$emit('update:modelValue')">
<el-dialog title="课程学员" :close-on-click-modal="false" width="1000px" @update:modelValue="$emit('update:modelValue')">
<el-row justify="space-between" style="margin: 10px">
<div>课程名称:{{ data.course_name }}</div>
<div>课程类型:{{ data.category_name }}</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论