liwentao
2023-08-07 5ba06835141d1af5fa26a72055f1eee2fc8a4c52
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);
    }
}