renderContent(h, { node, data, store }) { if(data.color){ return (//这种方式返回,background属性不会生效 {node.label} ); } return ( {node.label} );//这种是可以的 } 各位有什么意见吗?element-uivue.js 有用关注3收藏 回复 阅读10k 2 个回答 得票最新 pursuitToM 8511514 发布于 201...
renderContent(h, { node, data, store }) { if(data.color){ return (//这种方式返回,background属性不会生效 {node.label} ); } return ( {node.label} );//这种是可以的 } 各位有什么意见吗?element-uivue.js 有用关注3收藏 回复 阅读10k 2 个回答 得票最新 zwStar 4353 发布于 2018-02...