Explorar el Código

数字资源 事件来源,类型统计

wangzhe hace 2 años
padre
commit
4c054b5646
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/bigdata/chart-event.vue

+ 2 - 1
src/views/bigdata/chart-event.vue

@@ -19,7 +19,8 @@ export default {
   name: 'event',
   data() {
     return {
-      year: 2022,
+      // year: 2022,
+      year: new Date().getFullYear(),
       optionData: [],
       option2Data: []
     }