Browse Source

更新等级

panhui 4 years ago
parent
commit
1e334a0260
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/level/Level.vue

+ 2 - 2
src/components/level/Level.vue

@@ -66,8 +66,8 @@ export default {
             this.$http.post(
                 '/user/save',
                 {
-                    level: level,
-                    id: this.$store.state.userInfo.id
+                    ...this.$store.state.userInfo,
+                    level: level
                 },
                 { body: 'json' }
             );