feat: 移除 AllCustomPrimevue 组件,简化 App.vue 结构
All checks were successful
/ test (push) Successful in 27s
/ surge (push) Successful in 47s

This commit is contained in:
严浩
2024-11-26 09:43:48 +08:00
parent de0014590e
commit 223b460af8
2 changed files with 7 additions and 94 deletions

View File

@ -1,20 +1,16 @@
<script setup lang="ts">
import TutorialForm from './tutorial-form/index.vue'
import ZodForm from './zod-form/index.vue'
import AllCustom from './all-custom/all-custom.vue'
import AllCustomPrimevue from './all-custom-primevue/all-custom-primevue.vue'
import AllCustom from './all-custom/all-custom.vue';
import TutorialForm from './tutorial-form/index.vue';
import ZodForm from './zod-form/index.vue';
</script>
<template>
<ZodForm v-if="false" />
<TutorialForm v-if="false" />
<div class="flex flex-col md:flex-row items-start p-4 gap-4">
<div class="md:w-1/2 p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
<AllCustom />
</div>
<div class="md:w-1/2 p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
<AllCustomPrimevue />
</div>
<!-- <div class="flex flex-col md:flex-row items-start p-4 gap-4"> -->
<div class="p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
<AllCustom />
</div>
<!-- </div> -->
</template>