<template>
    <simple-form
        :items="formItems"
        ref="formRef"
        label-width="120px"
        :footer="false"
    />
</template>

<script setup name="isbnCollection">
    import { ref, shallowRef } from 'vue';
    import SimpleForm from '@/components/CommonPage/SimpleForm.vue';

    const formRef = ref(null);
    const formItems = shallowRef([
        {
            type: 'input',
            label: '使用者',
            prop: 'logoImage',
            required: true
        },
        {
            type: 'input',
            label: 'Appkey',
            prop: 'appkey',
            required: true
        },
        {
            type: 'input',
            label: 'Secret',
            prop: 'secret',
            required: true
        }
    ]);

    function handleSubmit(data) {
        console.log(data);
    }
</script>
