แก้ไข component ทะเบียนประวัติ

This commit is contained in:
Thanit Konmek 2023-08-03 15:22:59 +07:00
parent 98bcbe1bb1
commit 6730765a42
54 changed files with 3659 additions and 32 deletions

View file

@ -0,0 +1,27 @@
<template>
<q-toolbar>
<q-toolbar-title class="text-subtitle2 text-bold">{{
tittle
}}</q-toolbar-title>
<q-btn
icon="close"
unelevated
round
dense
@click="close"
style="color: #ff8080; background-color: #ffdede"
/>
</q-toolbar>
</template>
<script setup lang="ts">
const props = defineProps({
tittle: String,
close: {
type: Function,
default: () => console.log("not function"),
},
});
const close = async () => {
props.close();
};
</script>