From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改

---
 force-app/main/default/lwc/lexQuotationRequest/lexQuotationRequest.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/force-app/main/default/lwc/lexQuotationRequest/lexQuotationRequest.js b/force-app/main/default/lwc/lexQuotationRequest/lexQuotationRequest.js
index d968b59..fe10c67 100644
--- a/force-app/main/default/lwc/lexQuotationRequest/lexQuotationRequest.js
+++ b/force-app/main/default/lwc/lexQuotationRequest/lexQuotationRequest.js
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-04-14 11:09:28
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-04-14 11:21:24
+ * @LastEditTime: 2023-05-12 13:17:30
  */
 import { api, wire,LightningElement } from 'lwc';
 import { CurrentPageReference } from "lightning/navigation";
@@ -37,8 +37,8 @@
         init({
             recordId: this.recordId
         }).then(result=>{
-            this.biddingProjectNameBidId = result.biddingProjectNameBidId;
-            this.estimationId = result.estimationId;
+            this.biddingProjectNameBidId = result.biddingProjectNameBidId == undefined ? '' : result.biddingProjectNameBidId;
+            this.estimationId = result.estimationId == undefined ? '' : result.estimationId;
             this.quotationRequest();
         })
     }

--
Gitblit v1.9.1