hare8999@163.com 3 лет назад
Родитель
Сommit
48b042b78c
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/views/system/user/profile/round-select.vue

+ 3 - 0
src/views/system/user/profile/round-select.vue

@@ -153,6 +153,9 @@ export default {
     loadStudentSelected() {
       getStudentSelected().then(res => {
         console.log('getStudentSelected', res)
+        const status = res.data['selectResult']
+        status.currentGeneration = status.currentGeneration || 9
+        status.preferenceCount = status.preferenceCount || 3
         this.selectObj = res.data['selectResult']
         this.allowSelect = res.data.allowSelect
       })