Commit 88a9fbdf authored by zhengke's avatar zhengke

no message

parent b64f4cde
...@@ -100,12 +100,6 @@ const GetTripConfig = async (ConfigId) =>{ ...@@ -100,12 +100,6 @@ const GetTripConfig = async (ConfigId) =>{
isModelStore.setIsModel(true) isModelStore.setIsModel(true)
marketStore.setMarket(!market) marketStore.setMarket(!market)
TempIdStore.setTempId(dataObj.TempId) TempIdStore.setTempId(dataObj.TempId)
}else{
return ElMessage({
showClose: true,
message: datasRes.data.message,
type: 'warning',
})
} }
} catch (error) { } catch (error) {
console.log("triptemplate_GetTripConfig", error); console.log("triptemplate_GetTripConfig", error);
......
...@@ -150,12 +150,8 @@ queryObj.value = inject(injectKeyDataSource).queryObj ...@@ -150,12 +150,8 @@ queryObj.value = inject(injectKeyDataSource).queryObj
slidesStore.setSlides(newSlides) slidesStore.setSlides(newSlides)
} }
}) })
}else{ console.log(dataObj,'====')
ElMessage({ console.log(slides.value,'-----')
showClose: true,
message: datasRes.data.message,
type: 'warning',
})
} }
} catch (error) { } catch (error) {
...@@ -218,7 +214,7 @@ const GetTripFiledData = async () =>{ ...@@ -218,7 +214,7 @@ const GetTripFiledData = async () =>{
// 获取行程模版数据 // 获取行程模版数据
const GetTripTemplate = async () =>{ const GetTripTemplate = async () =>{
if(!TempId.value) { if(!searchData.value.TempId) {
let list = [ let list = [
{ {
id: 'test-slide-1', id: 'test-slide-1',
...@@ -270,7 +266,7 @@ const GetTripTemplate = async () =>{ ...@@ -270,7 +266,7 @@ const GetTripTemplate = async () =>{
queryObj.value.ColorStr = dataRes.data.data.ColorStr queryObj.value.ColorStr = dataRes.data.data.ColorStr
queryObj.value.TempType = dataRes.data.data.TempType queryObj.value.TempType = dataRes.data.data.TempType
slidesStore.updateSlideIndex(0) slidesStore.updateSlideIndex(0)
if(ConfigId.value==0||TempId.value||dataLoading.value==2) { if(ConfigId.value==0||TempId.value) {
await GetTripConfig() await GetTripConfig()
return return
} }
......
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