panhui %!s(int64=4) %!d(string=hai) anos
pai
achega
bba6cfcb0c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/main/vue/src/widgets/MonthWidget.vue

+ 3 - 1
src/main/vue/src/widgets/MonthWidget.vue

@@ -75,7 +75,9 @@ export default {
                         yearMonth: this.value
                     })
                     .then(res => {
-                        this.user = res;
+                        this.user = Object.keys(res).map(item => {
+                            return res[item];
+                        })[0];
                     });
                 this.$http
                     .get('/statistic/orderPriceTrendV2', {