闫增涛
2024-05-30 c74a9956a74475199b23bf37385135cae1076f85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<template>
  <div>
    
  </div>
</template>
<script>
export default {
  name: "carousel",
  props: {
    imgList: {
      type: Array,
      default: [],
    },
    settingHeight: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      srcList: [],
    };
  },
  created() {
    this.srcList = this.imgList?.map((item) => item.url);
  },
};
</script>