소스 검색

fix yearly

scorpio 2 년 전
부모
커밋
666f2ecad7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/home/component/params/params3.vue

+ 1 - 1
src/views/home/component/params/params3.vue

@@ -315,7 +315,7 @@ export default {
     initYearMonth (list, key) {
       if (list.length > 0) {
         list.forEach(sub => {
-          let tmp = this.kv(sub.year + 'yearly_' + key, sub.sum)
+          let tmp = this.kv(sub.year + '_yearly_' + key, sub.sum)
           sub.monthlyData.forEach(res => {
             const month = this.kv(res.year + '_' + res.month + key, res.data)
             tmp = Object.assign(tmp, month)