fix 节点title插槽报错问题

This commit is contained in:
2021-05-06 14:15:30 +08:00
parent cc3d201581
commit aa32dcf8e7

View File

@@ -234,7 +234,8 @@ export default {
} }
const scopedSlots = { const scopedSlots = {
title: ({ title }) => { title: (props) => {
const title = props[this.replaceFields.title]
return ( return (
<div> <div>
{ {