1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<template> <a-car-detail-transaction-car ref="carDetailTransaction" /> </template> <script> import ACarDetailTransactionCar from './aCarDetailTransactionCar' export default { components: { ACarDetailTransactionCar }, methods: { open(data) { this.$refs.carDetailTransaction.handleSwitch(data) } } } </script>