<template>
  <el-tag :type="OrderStatus[value]&&OrderStatus[value].type">
    {{ OrderStatus[value]&&OrderStatus[value].label || value }}
  </el-tag>
</template>

<script>
import { OrderStatus } from '@/assets/staticData'
export default {
  data () {
    return {
      OrderStatus
    }
  },
  props: {
    value: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
