From 04149c20be2e9a8729c2a83e102b8c1f8ea54d36 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Thu, 13 Jan 2022 17:52:39 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=9A=84=E6=B6=88=E6=81=AF=20=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E8=B7=B3=E8=BD=AC=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/UserAnnouncementList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue index 561709a..4f6c64f 100644 --- a/src/views/system/UserAnnouncementList.vue +++ b/src/views/system/UserAnnouncementList.vue @@ -251,9 +251,9 @@ export default { this.formData = param this.$refs.showDynamNotice.detail() } else if(record.openType === 'url') { - console.log(record.openPage,'url') + const param = JSON.parse(record.busId) - if(Object.prototype.hasOwnProperty.call(param, 'contractType') && Number(param.contractType) === 1){ + if(param && Object.prototype.hasOwnProperty.call(param, 'contractType') && Number(param.contractType) === 1){ // 如果是支出合同的就去支出合同 多加一个判断 是不想再去新加一个消息模板 this.$router.push({ path:'/contractManagement/ExpenditureContractDetail',