Browse Source

公告公示

安生 4 years ago
parent
commit
97d2a3543e
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/views/dashboard/BarChart.vue

+ 1 - 6
src/views/dashboard/BarChart.vue

@@ -6,7 +6,7 @@
       <el-button style="float: right; padding: 5px 0;color: black;" type="text" @click="more">更多</el-button>
     </el-row>
     <el-table v-loading="loading" :data="mesList" size="mini" :show-header="showHeader">
-      <el-table-column label="标题"style="color:#1890ff"  prop="tatle" align="left"  :show-header="showHeader">
+      <el-table-column label="标题"style="color:#1890ff"  prop="tatle" align="left"  :show-overflow-tooltip="true" :show-header="showHeader">
         <template slot-scope="scope">
           <el-button type="text" @click="handleUpdate(scope.row)" style="color: black">{{scope.row.tatle}}</el-button>
         </template>
@@ -103,11 +103,6 @@
           this.loading = false;
           console.log(response.rows)
           let result=response.rows;
-          for (let i = 0; i <response.rows.length ; i++) {
-            if (result[i].tatle.length>10){
-              result[i].tatle=result[i].tatle.substring(0,10)+"...";
-            }
-          }
         });
       },
       // 取消按钮