https://blog.csdn.net/weixin_43208813/article/details/100599447
如果有用过element-ui中的table组件,可能会发现有这么一个写法:
<template slot-scope="scope">
在实际的使用过程中,这种用法当然不仅仅局限于此,其他的地方也会用到。到底这里有什么特别之处呢?
我们看看普通的table用法:
https://blog.csdn.net/weixin_43208813/article/details/100599447
如果有用过element-ui中的table组件,可能会发现有这么一个写法:
<template slot-scope="scope">
在实际的使用过程中,这种用法当然不仅仅局限于此,其他的地方也会用到。到底这里有什么特别之处呢?
我们看看普通的table用法:
本文标题:理解vue之element-ui中的 slot-scope
本文链接:https://www.haomeiwen.com/subject/sbewictx.html
网友评论