Browse Source

修改月度分析报告数据列居右,描述列居左

baiyanting 1 year ago
parent
commit
e01fe2a86b

+ 2 - 1
src/views/economicsOperation/windAnalyse/monthlyAnalysis/reportDialog.vue

@@ -25,7 +25,8 @@
           :key="index"
           :prop="item.field"
           :label="item.name"
-          :align="item.field == 'name' ? 'center' : 'right'"
+          header-align="center"
+          :align="item.field == 'name' ? 'left' : 'right'"
           :width="item.width"
         >
         </el-table-column>