Browse Source

style(去掉table 某一项的宽度)

liujing 8 months ago
parent
commit
991ac5d9ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/service/InterfaceDetail/components/ServiceDrawer.vue

+ 2 - 2
src/views/service/InterfaceDetail/components/ServiceDrawer.vue

@@ -130,10 +130,10 @@
               @sort-change="sortChangeTable"
               @row-click="handleClickRightTable"
             >
-              <el-table-column header-align="center" label="TraceID" prop="trace_id" align="center" width="240" />
+              <el-table-column header-align="center" label="TraceID" prop="trace_id" align="center" />
               <el-table-column header-align="center" label="SpanName" prop="span_name" align="center" :show-overflow-tooltip="true" />
               <el-table-column header-align="center" label="DateTime" sortable="custom" prop="datetime" align="center" :show-overflow-tooltip="true" />
-              <el-table-column header-align="center" label="Duration(ms)" sortable="custom" prop="duration" width="140" align="center">
+              <el-table-column header-align="center" label="Duration(ms)" sortable="custom" prop="duration"  align="center">
                 <template slot-scope="scope">
                   <el-tag v-if="scope.row.duration>=2000" type="danger">{{ scope.row.duration }}</el-tag>
                   <el-tag v-if="scope.row.duration<2000" type="info">{{ scope.row.duration }}</el-tag>