no message

This commit is contained in:
setthawutttty 2023-11-10 11:27:24 +07:00
parent 906b948ad8
commit adfc25b38b
3 changed files with 60 additions and 49 deletions

View file

@ -1,11 +1,13 @@
<script setup lang="ts">
import { useRoute, useRouter } from "vue-router";
import Form from "@/modules/11_discipline/components/1_Complaint/Form.vue";
const router = useRouter();
//
const onSubmit = async () => {
// post
/** บันทึกข้อมูล */
async function onSubmit () {
/** post */
console.log("add");
router.push(`/discipline/complaints`);
};