From 0c86e5e2eaf907dfcb63aea13e6efac3ccc52cce Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 25 二月 2020 11:06:20 +0800
Subject: [PATCH] 2020-02-25

---
 src/tabviews/subtable/index.jsx |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index 0d982b0..a86dfc6 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -288,6 +288,15 @@
     
     if (type === 'refresh') {
       _BID = bid
+      if (!bid) { // 涓昏〃ID涓嶅瓨鍦ㄦ椂锛屼笉鏌ヨ瀛愯〃
+        this.setState({
+          data: [],
+          total: 0,
+          loading: false
+        })
+
+        return
+      }
     }
 
     if (setting.interType !== 'inner' || (setting.interType === 'inner' && setting.innerFunc)) {

--
Gitblit v1.8.0