Browse Source

table组件增加tooltip-effect属性

zhangliang2 2 years ago
parent
commit
3c2db2bd01

+ 6 - 0
src/components/grid/TableList.vue

@@ -76,6 +76,7 @@
                             :indent='propIndent'
                             :indent='propIndent'
                             :max-height="propMaxHeight"
                             :max-height="propMaxHeight"
                             :header-cell-style="{background:'#F5F7FA'}"
                             :header-cell-style="{background:'#F5F7FA'}"
+                            :tooltip-effect="tooltipEffect"
                     >
                     >
 
 
                         <!--row-key="id"-->
                         <!--row-key="id"-->
@@ -320,6 +321,11 @@
                 },
                 },
                 type: Function
                 type: Function
             },
             },
+            // tooltip effect 属性	String	dark/light
+            tooltipEffect:{
+                default: 'dark',
+                type: String
+            },
         },
         },
         data: function () {
         data: function () {
             return {
             return {

+ 1 - 0
src/views/algorithmsLibrary/algorithmsPlatformList.vue

@@ -69,6 +69,7 @@
             :columns="columns"
             :columns="columns"
             :getDataWay="getDataWay"
             :getDataWay="getDataWay"
             :pagination="pagination"
             :pagination="pagination"
+            tooltip-effect="light"
             index
             index
         >
         >