wlzboy
2025-12-30 a4b14a35a2209a30e53472e6333b13aa4a55b0eb
app/pagesTask/components/HospitalSelector.vue
@@ -185,8 +185,9 @@
        this.searchResults = response.data || []
        this.showResults = true
      }).catch(error => {
        console.error('搜索医院失败:', error)
        // console.error('搜索医院失败:', error)
        this.searchResults = []
        // this.showResults = false
      })
    },
    
@@ -215,9 +216,9 @@
        this.searchResults = this.defaultHospitals
        this.showResults = true
        this.hasLoadedDefault = true
        console.log('加载默认医院列表,数量:', this.defaultHospitals.length)
        // console.log('加载默认医院列表,数量:', this.defaultHospitals.length)
      }).catch(error => {
        console.error('加载默认医院列表失败:', error)
        // console.error('加载默认医院列表失败:', error)
        this.defaultHospitals = []
      })
    },
@@ -303,7 +304,7 @@
          this.showAddressSuggestions = false
        }
      }).catch(error => {
        console.error('搜索地址失败:', error)
        // console.error('搜索地址失败:', error)
        this.addressSuggestions = []
        this.showAddressSuggestions = false
      })