张宇恒
2023-05-04 31141b36bdef39856d8ce2a3fe4da534fa0bb14c
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);
    }
}