|
@@ -148,7 +148,7 @@ let resData=ref(null)//接口详情数据
|
|
|
let loading=ref(false)
|
|
|
// 如果type:init 则是初始化获取数据
|
|
|
const getChartInfo=async (type)=>{
|
|
|
- resData.value=null
|
|
|
+ // resData.value=null
|
|
|
loading.value=true
|
|
|
const res=await apiChartInfo({
|
|
|
ChartInfoId:ChartInfoId,
|
|
@@ -879,7 +879,7 @@ const pageTouchmove=(e)=>{
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
- <div class="chart-detail" v-if="resData">
|
|
|
+ <div class="chart-detail" v-if="!loading">
|
|
|
<div class="chart-title">{{resData.ChartInfo.ChartName}}</div>
|
|
|
<div class="top-box">
|
|
|
<div class="flex calendar-box" style="float:left" @click="handleShowDate">
|