Browse Source

科研成果 y轴刻度

linweizeng 2 năm trước cách đây
mục cha
commit
3065a1977d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/scientificPayoffs/js/index.js

+ 1 - 0
src/views/scientificPayoffs/js/index.js

@@ -240,6 +240,7 @@ export const barData = {
     yAxis: {
         type: 'value',
         name: '数量(个)',
+        minInterval: 1,
         nameTextStyle: {
             color: '#fff',
             fontSize: 14