Sfoglia il codice sorgente

table组件增加tooltip-effect属性

zhangliang2 2 anni fa
parent
commit
3c2db2bd01

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

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

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

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