|
@@ -11,7 +11,8 @@ import {
|
|
|
Image,
|
|
|
List,
|
|
|
Picker,
|
|
|
- Popup
|
|
|
+ Popup,
|
|
|
+ showToast
|
|
|
} from 'vant';
|
|
|
import iconMusic from '@/common/images/icon-music.png';
|
|
|
import iconTeacher from '@/common/images/icon-teacher-default.png';
|
|
@@ -54,6 +55,10 @@ export default defineComponent({
|
|
|
|
|
|
const onSubmitUpdateSite = async () => {
|
|
|
try {
|
|
|
+ if (!forms.siteName) {
|
|
|
+ showToast('请输入场地名称');
|
|
|
+ return;
|
|
|
+ }
|
|
|
await request.post('/api-web/classGroup/teachingPoint', {
|
|
|
hideLoading: false,
|
|
|
data: {
|
|
@@ -190,7 +195,7 @@ export default defineComponent({
|
|
|
title: () => (
|
|
|
<div>
|
|
|
<div class={styles.classname}>
|
|
|
- {item.courseName}
|
|
|
+ {item.classGroupName}
|
|
|
</div>
|
|
|
<div class={styles.name}>{item.teacherName}</div>
|
|
|
</div>
|