直接上代码,希望能帮到你 render:(h,params) => { return h(" 定义的元素 “,{ 元素的性质 },” 元素的内容"/[元素的内容]) } props中默认定义content,如果下面定义了slot:‘content’,就不会显示默认定义的content内容 来源:https://blog.csdn.net/ma_pei/article/details/99678024 标签 content