博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
elementui 表格上加小问号 鼠标移入提示文字
阅读量:2065 次
发布时间:2019-04-29

本文共 1111 字,大约阅读时间需要 3 分钟。

renderHeader(h, { column, $index }) {      return [        column.label,        h(          'el-tooltip',          {            props: {              content: (function() {                return '效率值 = (周期内完成工单难度系数之和)/周期'                // const label = column.label                // switch ('1') {                //   case '1':                //     return '效率值 = (周期内完成工单难度系数之和)/周期'                //     break                //   case '提交数':                //     return '网站页面上访客在应用上完成提交的数量'                //     break                //   case '成交数':                //     return '网站页面上最终成功在应用上完成提交的数量'                //     break                // }              })(),              placement: 'top'            }          },          [            h('span', {              class: {                'el-icon-question': true              }            })          ]        )      ]      // return h("span", {      //   attrs: {      //     class: "cell", //ele原来样式      //   },      //   domProps: {      //     innerHTML:      //       column.label +      //       '
', // }, // }); },

转载地址:http://hlzmf.baihongyu.com/

你可能感兴趣的文章
剑指offer 58. 链表中环的入口结点
查看>>
剑指offer 59. 把字符串转换成整数
查看>>
剑指offer 60. 不用加减乘除做加法
查看>>
leetcode 热题 Hot 100-3. 合并两个有序链表
查看>>
leetcode 热题 Hot 100-4. 对称二叉树
查看>>
Leetcode C++《热题 Hot 100-12》226.翻转二叉树
查看>>
Leetcode C++《热题 Hot 100-13》234.回文链表
查看>>
Leetcode C++《热题 Hot 100-14》283.移动零
查看>>
Leetcode C++《热题 Hot 100-15》437.路径总和III
查看>>
Leetcode C++《热题 Hot 100-17》461.汉明距离
查看>>
Leetcode C++《热题 Hot 100-18》538.把二叉搜索树转换为累加树
查看>>
Leetcode C++《热题 Hot 100-19》543.二叉树的直径
查看>>
Leetcode C++《热题 Hot 100-21》581.最短无序连续子数组
查看>>
Leetcode C++《热题 Hot 100-22》2.两数相加
查看>>
Leetcode C++《热题 Hot 100-23》3.无重复字符的最长子串
查看>>
Leetcode C++《热题 Hot 100-24》5.最长回文子串
查看>>
Leetcode C++《热题 Hot 100-26》15.三数之和
查看>>
Leetcode C++《热题 Hot 100-27》17.电话号码的字母组合
查看>>
Leetcode C++《热题 Hot 100-28》19.删除链表的倒数第N个节点
查看>>
Leetcode C++《热题 Hot 100-29》22.括号生成
查看>>