高章伟
2022-03-18 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<apex:page showHeader="false" sidebar="false" id="allPage" title="任务管理表">
 <apex:includeLightning />
 
 <div style="width:100%;height:100%;" id="TaskManageAppOutContainer" />
 
 <script>
 $Lightning.use("c:TaskManageApp", function() {
 $Lightning.createComponent("c:taskManage",
 { 
 },
 "TaskManageAppOutContainer",
 function(cmp) {
 console.log('Component created, do something cool here');
 });
 });
 </script>
</apex:page>