From aa32dcf8e71d3400c5337e35e6d852c4cdc4b090 Mon Sep 17 00:00:00 2001 From: ky_yusj <2655568377@qq.com> Date: Thu, 6 May 2021 14:15:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=8A=82=E7=82=B9title=E6=8F=92=E6=A7=BD?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/components/yoTreeLayout/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Web/src/components/yoTreeLayout/index.js b/Web/src/components/yoTreeLayout/index.js index b66aa27..7a05d81 100644 --- a/Web/src/components/yoTreeLayout/index.js +++ b/Web/src/components/yoTreeLayout/index.js @@ -234,7 +234,8 @@ export default { } const scopedSlots = { - title: ({ title }) => { + title: (props) => { + const title = props[this.replaceFields.title] return (
{