Explorar el Código

Merge branch 'dev_g' of United_Software/k_online_ui into dev

Jack Zhou hace 8 meses
padre
commit
490a3a6efe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/Dashboard/src/components/RevenueChart.vue

+ 1 - 1
src/views/Dashboard/src/components/RevenueChart.vue

@@ -293,7 +293,7 @@ const initOption = reactive({
         title: 'update',
         icon: 'image://' + updateIcon,
         onclick: function () {
-          let filename = 'Revenue Spent Details ' + barName.value[0] + '-' + barName.value[1]
+          let filename = 'Revenue Spent Details ' + barName.value[0] + '-' + barName.value[barName.value.length - 1]
           exportData({ filename: filename })
         }
       }