luohairen
2024-10-30 e7cced05d5860feead581d2461cd4d2061ab259a
src/views/class-management/ClassStaff.vue
@@ -65,7 +65,7 @@
            title="确定要删除该成员吗?"
            @confirm="remove(scope.row.id)"
          >
            <el-button slot="reference" type="danger" size="small">删除</el-button>
            <el-button slot="reference" type="danger" size="small" v-show="false">删除</el-button>
          </el-popconfirm>
        </template>
      </el-table-column>
@@ -238,9 +238,11 @@
            editClassesUser(this.studentForm).then(res => {
              this.addOpen = false
              this.$message.success(res.data.message)
              this.submitForm()
              this.page()
              this.resetStudentForm()
            })
            window.location.reload()
          } else {
            addClassesUser(this.studentForm).then(res => {
              this.addOpen = false
@@ -248,6 +250,7 @@
              this.page()
              this.resetStudentForm()
            })
            window.location.reload()
          }
        }
      })