📅  最后修改于: 2022-03-11 15:04:20.055000             🧑  作者: Mango
const selectedEvent = new CustomEvent('custevent', {
detail: {
type: "Fiat",
model:"500",
color:"white"
}
});
hndlecustEvent(event) {
this.value1 = event.detail.type;
this.value2 = event.detail.model;
}