LiJinHuan
2023-05-26 6ef4c530d43cc74cd095c5af4acaa3bc195eab6b
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);
    }
}