基于 ElemnetUI 的项目,在引入第三方扩展库 vxe-table 使用 elx-editable 组件的自定义模板渲染时报错
Duplicate presence of slot “default” found in the same render tree - this will likely cause render errors.
找到问题原因是 vue 版本语法问题:
vue2.6以上语法
<template v-slot:edit="scope"><template>
vue2.6以下语法