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
| );
| }
| }
|
|