From 84d7b5e9b0a31c1e18dc52b3d69b1cadf96938e7 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期五, 06 十二月 2024 17:47:57 +0800 Subject: [PATCH] 报错提示 --- src/components/createproposal/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/createproposal/index.vue b/src/components/createproposal/index.vue index 623f6fe..5d9490a 100644 --- a/src/components/createproposal/index.vue +++ b/src/components/createproposal/index.vue @@ -109,15 +109,19 @@ console.log(val, 111); this.propform.advice = val.proParentList; this.isZjs = val.isZj; + if(val.proParentList){ + this.getList(); + } + }, }, mounted() { this.propform.kjbq = []; - this.getList(); + // this.getList(); }, created() { - this.getList(); + // this.getList(); }, methods: { getList() { @@ -163,8 +167,6 @@ }, handleCheckedCitiesChange(val) {}, handleOk() { - console.log(this.isZjs); - if (this.isZjs == 0) { let data = { title: this.propform.title, -- Gitblit v1.8.0