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