Logo white

wuye / webui

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • webui
  • src
  • components
  • owner
  • ownerCarsDemo.vue
  • v1.9 优化日期
    b25b036d
    wuxw authored
    2025-10-14 18:13:56 +0800  
    Browse Code »
ownerCarsDemo.vue 365 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<template>
  <div>
    <el-button @click="openOwnerCars">查看业主车辆</el-button>
    <owner-cars ref="ownerCarsRef" />
  </div>
</template>

<script>
import OwnerCars from './ownerCars'

export default {
  components: {
    OwnerCars
  },
  methods: {
    openOwnerCars() {
      this.$refs.ownerCarsRef.open('456') // 传递业主ID
    }
  }
}
</script>