From f55f309851c214403c3532372db4fa3331592207 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 二月 2023 14:54:12 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/carousel/prop-card/index.jsx | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/carousel/prop-card/index.jsx b/src/tabviews/custom/components/carousel/prop-card/index.jsx index 0b5782b..dde0ca0 100644 --- a/src/tabviews/custom/components/carousel/prop-card/index.jsx +++ b/src/tabviews/custom/components/carousel/prop-card/index.jsx @@ -198,7 +198,7 @@ } } - openModal = () => { + openModal = (ErrCode) => { const { config, data } = this.state let code = config.wrap.code || ('modal' + config.uuid) @@ -210,6 +210,10 @@ localStorage.setItem(code, data.$$uuid || 'true') Api.getAppVersion(true) + + if (ErrCode === '-1') { + return + } } setTimeout(() => { @@ -335,7 +339,7 @@ loading: false }, () => { if (config.wrap.display === 'modal') { - this.openModal() + this.openModal(result.ErrCode) } }) } else { -- Gitblit v1.8.0