Commit b61e23db authored by 郝聪敏's avatar 郝聪敏

fix: 返回参数接收方式修改

parent 010378fb
<template>
<cr-image fit="cover" :src="url" />
<cr-image width="" height="" fit="cover" :src="url" />
</template>
<script>
......
......@@ -7,7 +7,11 @@ export default {
this.$notify({ type: "warning", message: "保单不存在" });
return;
}
const url = await getElectronicInsurance({ policySecId });
const { url } = await getElectronicInsurance({ policySecId });
if (!url) {
this.$notify({ type: "danger", message: "保单地址返回异常" });
return;
}
this.$router.push({
path: "/policy/virtual-detail",
query: { url }
......
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