kong.vue 446 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <div class='kong'>
  3. <slot></slot>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {},
  9. data() {
  10. return {
  11. };
  12. },
  13. props:{
  14. data:{
  15. type:Array,
  16. default:()=>[]
  17. }
  18. },
  19. computed: {},
  20. methods: {
  21. init(){
  22. },
  23. },
  24. created() {
  25. },
  26. mounted() {
  27. },
  28. beforeDestroy() {
  29. },
  30. }
  31. </script>
  32. <style lang="less" scoped>
  33. .kong{
  34. width: 100%;
  35. height: 100%;
  36. }
  37. </style>