<template>
  <div>
    <el-descriptions class="margin-top" :column="2" border>
      <el-descriptions-item v-for="(item, index) in descriptionsList" :key="index" :span="item.span">
        <template slot="label"> {{ item.label }} </template>
        {{ item.value }}
      </el-descriptions-item>
    </el-descriptions>
  </div>
</template>
<script>
export default {
  data() {
    return {

    //   list2: {
    //     asd: 123123213,
    //     idsd: "hahhah",
    //   },
    };
  },
  props: {
    descriptionsList: {
      type: Array,
      default: [],
    },
  },
  methods: {},
  created() {
    // for (let key in this.list2) {
    //   this.list1.forEach((values, index) => {
    //     if (values.data === key) {
    //       this.list1[index].value = this.list2[key];
    //     }
    //   });
    // }
  },
};
</script>
<style lang="scss" scoped>
.margin-top {
  margin: 15px 0;
}
</style>

