From f7484973dc7c94fd41f23ef83d511f082cb0131e Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 24 五月 2024 16:37:19 +0800
Subject: [PATCH] 1

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

diff --git a/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js b/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
index d7b04dd..58d470b 100644
--- a/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
+++ b/force-app/main/default/lwc/lexSpecilaApplyCreateLwc/lexSpecilaApplyCreateLwc.js
@@ -1,11 +1,3 @@
-/*
- * @Description: 
- * @version: 
- * @Author: chen jing wu
- * @Date: 2023-06-25 10:06:08
- * @LastEditors: chen jing wu
- * @LastEditTime: 2023-06-25 10:54:46
- */
 import { LightningElement,api, track, wire } from 'lwc';
 import {CurrentPageReference} from 'lightning/navigation';
 import { CloseActionScreenEvent } from 'lightning/actions';
@@ -13,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;
@@ -36,6 +29,9 @@
         }
     }
     connectedCallback(){
+        Promise.all([
+            loadStyle(this, lwcCSS)
+           ]);
         init({
             recordId: this.oppId
         }).then(result=>{
@@ -62,4 +58,4 @@
         });
         this.dispatchEvent(new CloseActionScreenEvent());
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.1