浏览代码

修改给分分布的列宽,兼容小屏幕一屏展示15分

刘洋 2 年之前
父节点
当前提交
6dcb88b59d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/modules/analysis/personnel-compare/index.vue

+ 2 - 1
src/modules/analysis/personnel-compare/index.vue

@@ -179,7 +179,7 @@ const columns2: any = computed(() => {
       label: '账号',
       prop: 'loginName',
       align: 'center',
-      minWidth: 100,
+      minWidth: 90,
       fixed: 'left',
       formatter(row: any) {
         return `${row.loginName}-${row.markerName}`
@@ -192,6 +192,7 @@ const columns2: any = computed(() => {
       return {
         label: item.scoreStart,
         align: 'center',
+        minWidth: 50,
         formatter(row: any) {
           return row.segmentScores.find((v: any) => v.scoreStart == item.scoreStart).rate
         },