yumenghui
2023-08-04 17bd5b18e21c9f46aefdbf3400262764f0def4da
1
2
3
4
5
6
7
8
9
10
11
12
import { LightningElement, api } from 'lwc';
 
export default class CustomShipmentAmountComp extends LightningElement {
    @api shipmentAmount;
 
    connectedCallback() {
        console.log(
            '进入 CustomShipmentAmountComp shipmentAmount = ' +
                this.shipmentAmount
        );
    }
}