From a55a26c9266a1d3cbbe06272b1e23dcaed95a846 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期一, 15 四月 2024 11:56:48 +0800
Subject: [PATCH] 123

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

diff --git a/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js b/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
index f9b3735..58d470b 100644
--- a/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
+++ b/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
@@ -5,7 +5,8 @@
 import { NavigationMixin } from 'lightning/navigation';
 import { encodeDefaultFieldValues } from 'lightning/pageReferenceUtils';
 import init from '@salesforce/apex/OpportunityLightingButtonController.initForSpecilaApplyCreateButton';
-
+import lwcCSS from '@salesforce/resourceUrl/lwcCSS';
+import {loadStyle} from 'lightning/platformResourceLoader';
 export default class LexSpecilaApplyCreateLwc extends NavigationMixin(LightningElement) {
     @api oppId;
     oppName;
@@ -28,6 +29,9 @@
         }
     }
     connectedCallback(){
+        Promise.all([
+            loadStyle(this, lwcCSS)
+           ]);
         init({
             recordId: this.oppId
         }).then(result=>{

--
Gitblit v1.9.1