Commit 2a40e797 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/update_pdf' into 'master'

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

See merge request !195
parents 010378fb b61e23db
<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