Browse Source

feat:修改保存的日期

AmandaG 8 tháng trước cách đây
mục cha
commit
8afcc780c6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 })
         }
       }