xiongzhu 5 anni fa
parent
commit
a7e01f9279
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/main/vue/src/widgets/RecentOrder.vue

+ 2 - 2
src/main/vue/src/widgets/RecentOrder.vue

@@ -44,8 +44,8 @@ export default {
                             {
                             {
                                 label: '销售额',
                                 label: '销售额',
                                 data: res.map(i => i.dayOrder),
                                 data: res.map(i => i.dayOrder),
-                                backgroundColor: ['rgba(54, 162, 235, 0.2)'],
-                                borderColor: ['rgba(54, 162, 235, 1)'],
+                                backgroundColor: 'rgba(54, 162, 235, 0.2)',
+                                borderColor: 'rgba(54, 162, 235, 1)',
                                 borderWidth: 1
                                 borderWidth: 1
                             }
                             }
                         ]
                         ]