有问题的代码
红色波浪线报错信息如下
Extraneous children found when component already has explicitly named default slot. These children will be ignored.
修改后的代码
插槽采用#写法
Extraneous children found when component already has explicitly named default slot. These children will be ignored.
插槽采用#写法