From 794f2a2560a00eb7e008eb94219c82654488831f Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期五, 12 十一月 2021 09:52:01 +0800
Subject: [PATCH] 功能展示列表:table添加简易单行省略显示tooltip

---
 src/pages/demo/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue
index 9f50cae..11688f3 100644
--- a/src/pages/demo/index.vue
+++ b/src/pages/demo/index.vue
@@ -38,12 +38,18 @@
     </el-row>
     <!-- 鎿嶄綔鍖� 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈 -->
 
+    <!--
+      table鍙傛暟璁剧疆锛�
+      stripe 鏄惁涓烘枒椹汗
+      border 鏄惁甯︽湁绾靛悜杈规
+      max-height 鏈�澶ч珮搴�
+    -->
     <el-table :data="list" stripe>
       <el-table-column type="index" label="搴忓彿" align="center" width="60" />
       <el-table-column label="瑙掕壊鍚嶇О" prop="name" align="center" min-width="120" />
       <el-table-column label="鏄惁涓婃灦" prop="isUp" align="center" min-width="100">
         <template slot-scope="scope">
-          <!-- 鏉冮檺鍒ゆ柇 :disable="!getAuthValueFN('xxx_edit')" -->
+          <!-- 鏉冮檺鍒ゆ柇 :disabled="!getAuthValueFN('xxx_edit')" -->
           <el-switch
             v-model="scope.row.isUp"
             :active-value="1"

--
Gitblit v1.8.0