Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-06-27 15:29:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7df678d69b8754f5a15e6109d48bbddfb81cf981
7df678d6
1 parent
616edfe4
fix(teacher): 修复年级切换时班级值未重置的问题
移除年级切换时对班级值的重置操作,保留课程值的重置
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/views/teacher/myClassPage.vue
src/views/teacher/myClassPage.vue
View file @
7df678d
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-01-20 10:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-27 1
4:46
:06
* @LastEditTime: 2025-06-27 1
5:29
:06
* @FilePath: /mlaj/src/views/teacher/myClassPage.vue
* @Description: 我的班级页面
-->
...
...
@@ -30,7 +30,7 @@
<!-- 筛选器 -->
<div>
<van-sticky>
<van-dropdown-menu active-color="#10b981" swipe-threshold="
3
">
<van-dropdown-menu active-color="#10b981" swipe-threshold="
2
">
<van-dropdown-item v-model="selectGradeValue" :options="gradeOption" @change="handleGradeChange" />
<van-dropdown-item v-model="selectClassValue" :options="classOption" @change="handleClassChange" />
<van-dropdown-item v-model="selectCourseValue" :options="courseOption" @change="handleCourseChange" />
...
...
@@ -239,7 +239,6 @@ const handleGradeChange = async (val) => {
console.log('val', val);
selectGradeValue.value = val;
// 重置班级和课程选择
selectClassValue.value = null;
selectCourseValue.value = null;
// 根据年级ID 更新过滤列表
...
...
Please
register
or
login
to post a comment