From 753ac5f57b10588e225c1d82203b13a81bc9c9a7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 03 十二月 2020 18:36:26 +0800 Subject: [PATCH] 2020-12-03 --- 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 54c3194..1a31450 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -189,7 +189,7 @@ if (type === 'refresh' && position === 'grid') { this.loadData() if (btn && btn.syncComponent && btn.syncComponent[0]) { - let syncId = btn.syncComponent[btn.syncComponent.length - 1] + let syncId = btn.syncComponent.slice(-1)[0] if (config.uuid !== syncId) { MKEmitter.emit('syncRefreshComponentId', syncId) } -- Gitblit v1.8.0