Commit 08826362 authored by 郭志伟's avatar 郭志伟

fix: sentry错误修改

parent d00b104f
......@@ -13,8 +13,8 @@
:value="item.value.tpl || item.value"
:class="{
'compact-cell': 1,
'compact-cell_divider': item.divider,
'compact-cell_inline': item.inline
'compact-cell_divider': item && item.divider,
'compact-cell_inline': item && item.inline
}"
:style="{ fontSize: fontSize + 'px' }"
@click="cellClick(item)"
......
......@@ -330,7 +330,7 @@ export default {
const { selfSecId: holderUserId, selfIdNo: holderIdNoMask } = this.formData;
let currentIdNo = !relation || relation === "1" ? holderIdNoMask : idNoMask;
const currentUserId = !relation || relation === "1" ? holderUserId : userId;
const familyList = this.$refs["insureForm"].familyList || [];
const familyList = this.$refs["insureForm"]?.familyList || [];
if (!currentIdNo) return "";
currentIdNo =
currentIdNo.indexOf("**") > -1
......
......@@ -346,7 +346,7 @@ export default {
const { selfSecId: holderUserId, selfIdNo: holderIdNoMask } = this.formData;
let currentIdNo = !relation || relation === "1" ? holderIdNoMask : idNoMask;
const currentUserId = !relation || relation === "1" ? holderUserId : userId;
const familyList = this.$refs["insureForm"].familyList || [];
const familyList = this.$refs["insureForm"]?.familyList || [];
if (!currentIdNo) return "";
currentIdNo =
currentIdNo.indexOf("**") > -1
......
......@@ -339,7 +339,7 @@ export default {
const { selfSecId: holderUserId, selfIdNo: holderIdNoMask } = this.formData;
let currentIdNo = !relation || relation === "1" ? holderIdNoMask : idNoMask;
const currentUserId = !relation || relation === "1" ? holderUserId : userId;
const familyList = this.$refs["insureForm"].familyList || [];
const familyList = this.$refs["insureForm"]?.familyList || [];
if (!currentIdNo) return "";
currentIdNo =
currentIdNo.indexOf("**") > -1
......
......@@ -76,15 +76,20 @@ export default {
break;
}
setTimeout(() => {
console.log(document.getElementById("dtp"));
document.getElementById("dtp").onclick = () => {
const dtp = document.getElementById("dtp");
const zhongyao = document.getElementById("70zhongyao");
if (dtp) {
dtp.onclick = () => {
this.pupopData = this.planInfo[5].options[0];
this.popupShow = true;
};
document.getElementById("70zhongyao").onclick = () => {
}
if (zhongyao) {
zhongyao.onclick = () => {
this.pupopData = this.planInfo[5].options[1];
this.popupShow = true;
};
}
}, 500);
},
methods: {
......
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