黄千龙
2023-08-07 aa7cab63bcc29d8a1cb4667bc982814fc28970e5
1
2
3
4
5
6
7
8
9
import { LightningElement,api } from 'lwc';
 
export default class CustomShipmentAmountComp extends LightningElement {
    @api shipmentAmount;
 
    connectedCallback(){
        console.log('进入 CustomShipmentAmountComp shipmentAmount = ' + this.shipmentAmount);
    }
}