Browse Source

科研成果 y轴刻度

linweizeng 3 năm trước cách đây
mục cha
commit
3065a1977d

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

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