Commit f78209f193e96ed9f606541d955740895cea2cc8
1 parent
af4b2691
fix: 小改动
Showing
1 changed file
with
5 additions
and
1 deletions
src/views/home/index.vue
| ... | ... | @@ -72,7 +72,7 @@ import { queryLineInfo, querySignInfoByType } from '@/api/big_view/big_view.js'; |
| 72 | 72 | import FleetContentBox from '@/components/FleetContentBox/index.vue'; |
| 73 | 73 | import getWeek from "@/utils/dateUtils.js"; |
| 74 | 74 | import moment from 'moment'; |
| 75 | -import { onMounted, reactive, ref, watch } from 'vue'; | |
| 75 | +import { nextTick, onMounted, reactive, ref, watch } from 'vue'; | |
| 76 | 76 | import { CountTo } from 'vue3-count-to'; |
| 77 | 77 | // 图片信息 直接写路径会有问题 打包的时候vite构建会导出路径找不到 |
| 78 | 78 | import icon2 from "../../assets/bigview/image-icon-1.png"; |
| ... | ... | @@ -280,6 +280,10 @@ const handleUpdateDataRequest = (dateKey) => { |
| 280 | 280 | //获取车队 |
| 281 | 281 | queryLineInfo(dateKey).then(res => { |
| 282 | 282 | fleetInfoList.value = res.data |
| 283 | + | |
| 284 | + nextTick(() => { | |
| 285 | + loading.value = false; | |
| 286 | + }) | |
| 283 | 287 | }) |
| 284 | 288 | } |
| 285 | 289 | ... | ... |