From 8fd3e5c603f45b01ced02a86e13735f78dfe8f53 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期五, 17 三月 2023 11:09:20 +0800 Subject: [PATCH] 1 --- src/components/MapView/mapSpacePop.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/components/MapView/mapSpacePop.vue b/src/components/MapView/mapSpacePop.vue index 162a30f..bf678b0 100644 --- a/src/components/MapView/mapSpacePop.vue +++ b/src/components/MapView/mapSpacePop.vue @@ -446,7 +446,13 @@ const data = await dataQuerySelectByPage(this.listdata) if (data.code != 200) { - this.$message.error("鍒楄〃璋冪敤澶辫触") + return this.$message.error("鍒楄〃璋冪敤澶辫触") + } + if (data.result.length == 0) { + return this.$message({ + message: '鏈煡璇㈠埌杞瓟鐐规暟鎹�', + type: 'warning' + }); } this.listdata.count = data.count; this.tableData = data.result; -- Gitblit v1.9.3