diff --git a/src/App.vue b/src/App.vue index 5174da3..0d45321 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,7 @@ const componentStore = useComponentStore() v-model="componentStore.leftComDrawer" direction="ltr" > - + diff --git a/src/components/Layout/Left/Left.vue b/src/components/Layout/Left/Left.vue index f918dec..a44fe94 100644 --- a/src/components/Layout/Left/Left.vue +++ b/src/components/Layout/Left/Left.vue @@ -3,9 +3,6 @@ import { onMounted, ref, reactive } from 'vue'; import { useToolsStore } from '@/store/modules/tools' import { useRouter, useRoute } from "vue-router" -const props = defineProps({ - bgColor: String, -}) const router = useRouter() const route = useRoute() @@ -81,7 +78,7 @@ onMounted(async () => { class="w-[200px]" :default-active="defaultActive" :default-openeds="defaultOpeneds" - :background-color="props.bgColor ?? '#f5f5fb'" + background-color="transparent" @open="handleOpen" @close="handleClose" >