Commit 435b0ca7 authored by zhengke's avatar zhengke

优化op预览

parent 58e18a98
......@@ -47,6 +47,7 @@ import { useRouter } from 'vue-router'
import { useUserStore } from "@/store";
import themeColor from '@/utils/colorExtraction';
import { getRgbLevel } from '@/utils/common'
import { domainManager } from '@/utils/domainManager'
const router = useRouter()
const param = router.currentRoute.value.params
......@@ -87,7 +88,7 @@ const loadSliders = async ()=>{
let response = await ConfigService.GetTripTemplateSlide({TempId:parseInt(param.tempId.toString())})
loadingObj.close()
if (response.data.resultCode == 1) {
if(!response.data.data.TempId) window.parent.postMessage(`暂无行程数据`, `${domainManager().notificationUrl}`);
let dataObj = response.data.data
w.value=dataObj.Width
h.value=dataObj.Height
......
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