<template>
  <div class="dec-img-block">
    <img
      class="img-block"
      v-if="tab.arg.img"
      :src="decImgDomain(tab.arg.img)"
      alt
    />
    <div class="img-block img-default" v-else>自定义图片区域</div>
  </div>
</template>
<script>
// 设置空白块
import set from "./set";
export default {
  inject: ["decImgDomain"],
  components: {
    set,
  },
  props: {
    tab: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
};
</script>
