From fe227dd3d6c4ff9fd031033c15ae7b873dbf5535 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 31 三月 2022 22:39:47 +0800 Subject: [PATCH] 2022-03-31 --- src/tabviews/custom/components/card/prop-card/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx index 5a8912e..5df7934 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -53,7 +53,7 @@ } _sync = false } else if (_sync && initdata) { - _data = initdata || {$$empty: true} + _data = initdata if (Array.isArray(_data)) { _data = _data[0] || {$$empty: true} } -- Gitblit v1.8.0