Commit 1e957fed authored by zhengke's avatar zhengke

修复 请求详情条件

parent e34b46b9
......@@ -131,7 +131,7 @@ watch(() => dataLoading.value, (n,o) =>{
if(dataLoading.value==1){
GetTripTemplate()
}else if(dataLoading.value==2){
GetTripConfig()
if(ConfigId.value) GetTripConfig()
}
})
......@@ -359,8 +359,8 @@ const GetTripTemplate = async () =>{
queryObj.value.TempType = dataRes.data.data.TempType
slidesStore.updateSlideIndex(0)
datas.DataSource.pageType = newSlides[0].pageType
if(TempId.value&&!searchData.value.TempId) await GetTripConfig()
if(ConfigId.value==0) return
if(TempId.value&&!searchData.value.TempId) await GetTripConfig()
await GetTripFiledData()
}
} catch (error) {
......
......@@ -133,7 +133,6 @@
<div class="export-img-dialog">
<div class="thumbnails-view">
<div class="thumbnails FeatureImgRef" ref="FeatureImgRef">
<ThumbnailSlide
class="thumbnail"
:key="slides[slideIndex].id"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment