<script setup lang="ts">
import { useDetail } from "/@/hooks/core/useDetail";
// import BasicDescriptions from "/@/components/BasicDescriptions";
// import { goodColumns } from "./config/columns"

import BaseForm from "./components/BaseForm.vue"

const { id, title, isDetail, collapses } = useDetail({ baseName: '商品', collapseLen: 2 });
</script>

<template>
  <div class="padding__container">
    <ElTabs>
      <ElTabPane :label="title">
        <ElCollapse v-model="collapses">
          <ElCollapseItem :title="title" name="1">
            <BaseForm />
            <!-- <BasicDescriptions :columns="goodColumns" :data="{}" /> -->
          </ElCollapseItem>
        </ElCollapse>
      </ElTabPane>
    </ElTabs>
  </div>
</template>
