<!--
 * @FilePath: \wang-vue-worke:\demo\daping\src\components\borderBox\border2.vue
 * @Author: 王路平
 * @文件版本: V1.0.0
 * @Date: 2023-01-31 15:03:08
 * @Description: 
 * 
 * 版权信息         : 2023 by ${再登软件}, All Rights Reserved.
-->
<template>
    <dv-border-box-12 ref="boder">
      <div class="slot">
          <slot ></slot>
      </div>
      
    </dv-border-box-12>
  </template>
  
  <script setup lang="ts">
//   import {reactive, ref} from "vue"
//   defineProps<{title:string}>()

import { ref, watch } from 'vue';
let boder=ref()
//   const a = ref(0)
const resetWH = ()=>{
  boder?boder.value.initWH():''
}
//暴露子组件方法
defineExpose({ resetWH })

  
  </script>
  
  <style module>
   .container {
   }
  </style>
  <style scoped>
  .slot{
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 10px 10px 10px;
  }
  .border-box-content{
      
  }
  </style>
  