From 102be577a7f8df2ae30045d55a1a5fc584f90363 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 19 十二月 2022 18:31:38 +0800 Subject: [PATCH] 2022-12-19 --- src/tabviews/custom/components/card/prop-card/index.jsx | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/tabviews/custom/components/card/prop-card/index.jsx b/src/tabviews/custom/components/card/prop-card/index.jsx index 14185b5..c6203d6 100644 --- a/src/tabviews/custom/components/card/prop-card/index.jsx +++ b/src/tabviews/custom/components/card/prop-card/index.jsx @@ -397,12 +397,18 @@ data: _data, loading: false }, () => { - if (selected !== 'false') { - this.checkTopLine() + if (config.wrap.goback === 'true' && _data.$$empty) { + this.timer && this.timer.stop() + + MKEmitter.emit('closeTabView', config.$pageId) } else { - this.transferLine() + if (selected !== 'false') { + this.checkTopLine() + } else { + this.transferLine() + } + this.autoExec() } - this.autoExec() }) if (config.timer && config.clearField) { -- Gitblit v1.8.0