// 描述节点封装，及slot方式
<template>
  <el-descriptions-item  :label-class-name="labelClass" :content-class-name="contentClass">
    <template slot="label">{{value}}</template>
    {{label}}
  </el-descriptions-item>
</template>

<script>
export default {
  props: {
     // 字段值
    value: {
      type: [String, Number, Array],
    },
    // 字段中文标题
    label: {
      type: String,
      default: '',
    },
    labelClass: {
      type: String,
      default: '',
    },
    contentClass: {
      type: String,
      default: '',
    }
  },
  methods: {
  },
  computed: {
  },
  data() {
    return {
    }
  }
}
</script>

