hare8999@163.com %!s(int64=3) %!d(string=hai) anos
pai
achega
48b042b78c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
       })