From fe68fd88c6bc47bb09e1bb32134c5e9ea21c524c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 23 Dec 2023 14:38:34 +0800
Subject: [PATCH] 标签加载调整

---
 src/views/userHouse/houseList.vue     |    3 ++-
 src/views/userHouse/houseHoldList.vue |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index b73f134..9e2150e 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -607,8 +607,8 @@
             this.labelForm.remark = item.remark
         },
         manageLabel (item) {
-            this.currentRow = item
             this.loading = true
+            this.currentRow = item
             this.labelFlag = true
             let params = {
                 parentId: 1000
diff --git a/src/views/userHouse/houseList.vue b/src/views/userHouse/houseList.vue
index 7140834..5d66214 100644
--- a/src/views/userHouse/houseList.vue
+++ b/src/views/userHouse/houseList.vue
@@ -523,6 +523,7 @@
             this.labelForm.remark = item.remark
         },
         manageLabel (item) {
+            this.loading = true
             this.currentRow = item
             this.labelFlag = true
             let params = {
@@ -531,7 +532,6 @@
             // 查询标签
             getLabelList(Object.assign(params)).then(res => {
                 const data = res.data.data
-                this.loading = false
                 // 查询详情
                 getDetatils({
                     houseCode: item.houseCode
@@ -552,6 +552,7 @@
                         })
                     }
                     this.labelData = data
+                    this.loading = false
                 })
             })
         },

--
Gitblit v1.9.3