123
chenjingwu
2024-04-11 278a7ae49ca7a23d71e8c1ecb0546b73ce2dfa2a
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);
    }
}