<template>
    <el-drawer v-model="open" :title="`添加加油记录`" :before-close="handleClose" direction="rtl" size="80%">
		<Index @handleClance="handleClose" :closes="open"/>
    </el-drawer>
</template>


<script setup>
import Index from "./index.vue"
const open = ref(false);

const show = () => {
    open.value = true;
}

const handleClose = () => {
    open.value = false;
}

defineExpose({
    show,
    handleClose,
});

</script>