Li Jun
2022-03-31 1b8c8764c39fc546ca1b85ff1810ae51be74331c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<apex:page showHeader="false" sidebar="false" id="quoteTrial" title="报价计算">
    <apex:includeLightning />
    <div style="width:100%;height:100%;" id="QuoteTrialApp" />
    <script>
        $Lightning.use("c:QuoteTrialApp", function () {
            $Lightning.createComponent("c:quoteTrial",
                {},
                "QuoteTrialApp",
                function (cmp) {
                    console.log('Component created, do something cool here');
                });
        });
 
    </script>
 
</apex:page>