From a188413ec55a5ca96af748e820f194945a377eb6 Mon Sep 17 00:00:00 2001 From: "LAPTOP-8RNQO8UO\\86159" <2423579486@qq.com> Date: Tue, 4 Jul 2023 16:39:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=A3=E7=A0=81=E5=9D=97=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/code/code_module/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/index/code/code_module/index.vue b/src/pages/index/code/code_module/index.vue index 6d82221..32f0681 100644 --- a/src/pages/index/code/code_module/index.vue +++ b/src/pages/index/code/code_module/index.vue @@ -150,7 +150,7 @@ const headers = { // 查询参数 const params = reactive({ customer_guid: "", - code_module_category_guid: props.code_module_category.code_module_category_guid ? props.code_module_category.code_module_category_guid : "", + code_module_category_guid: "", code_module_name: "", code_module_audit: "", @@ -160,7 +160,9 @@ const props = defineProps({ code_module_category: Object, }); watch(props, (v) => { - params.code_module_category_guid = props.code_module_category.code_module_category_guid + if (props.code_module_category) { + params.code_module_category_guid = props.code_module_category.code_module_category_guid + } }); if (props.code_module_category) { params.code_module_category_guid = props.code_module_category.code_module_category_guid