Browse Source

耕地保护上图查询不显示查询结果为空提示

maxiaoxiao 4 tháng trước cách đây
mục cha
commit
e9bb8390fe
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      src/views/farmlandProtection/gdzl/details.vue

+ 5 - 5
src/views/farmlandProtection/gdzl/details.vue

@@ -53,11 +53,11 @@ export default {
       this.activeTabs = "jbxx";
       this.jbxxData = [];
       if (!e || !e.features || !e.features[0].fieldNames) {
-        this.$message({
-          message: "查询结果为空!",
-          type: "warning",
-          customClass: "messageIndex",
-        });
+        // this.$message({
+        //   message: "查询结果为空!",
+        //   type: "warning",
+        //   customClass: "messageIndex",
+        // });
       } else if (e && e.totalCount > 0) {
         this.isShallow = true;
         this.jbxxData = queryData[0];