修改首页选择小区提示语
This commit is contained in:
@@ -153,7 +153,7 @@ const BANNER_CACHE_KEY = 'home_banner_cache'
|
||||
const BANNER_CACHE_TIME = 30 * 60 * 1000
|
||||
|
||||
// 列表数据状态
|
||||
const currentCommunity = ref('请先绑定房屋')
|
||||
const currentCommunity = ref('请先选择小区')
|
||||
const bannerList = ref([])
|
||||
const noticeText = ref('暂无公告')
|
||||
const allCount = ref(0) // 全部巡检
|
||||
@@ -311,7 +311,7 @@ const handleFunctionClick = item => {
|
||||
}
|
||||
// 获取当前小区
|
||||
const currentVillageData = () => {
|
||||
currentCommunity.value = '请先绑定房屋'
|
||||
currentCommunity.value = '请先选择小区'
|
||||
return getCurrentVillage()
|
||||
.then(res => {
|
||||
const data = res.data
|
||||
@@ -322,7 +322,7 @@ const currentVillageData = () => {
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
currentCommunity.value = '请先绑定房屋'
|
||||
currentCommunity.value = '请先选择小区'
|
||||
})
|
||||
}
|
||||
// 获取今日巡检数据
|
||||
|
||||
Reference in New Issue
Block a user