<template>
  <div class="app-container">
    <el-row :gutter="10">
      <!-- 赠送道具 -->
      <el-col v-if="buttonPermissions.includes('send:props')">
        <send-props />
      </el-col>
      <!-- 赠送徽章 -->
      <el-col v-if="buttonPermissions.includes('send:props:badge')">
        <send-badge />
      </el-col>
      <!-- 赠送道具券 -->
      <el-col v-if="buttonPermissions.includes('send:props:coupon')">
        <send-ticket />
      </el-col>
    </el-row>
  </div>
</template>
<script>
import SendProps from "./send-props";
import SendBadge from "./send-badge";
import SendTicket from "./send-ticket";
import { mapGetters } from "vuex";

export default {
  components: { SendProps, SendBadge, SendTicket },
  data() {
    return {};
  },
  computed: {
    ...mapGetters(["buttonPermissions"])
  },
  created() {}
};
</script>
