浏览代码

fix editor

scorpio 2 年之前
父节点
当前提交
f6546a150e
共有 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)