feat: 前端分離+功能api化

1. 新增資產管理CRUD、googleOAuth登入
2. 更改原記帳controller
This commit is contained in:
2026-06-25 14:19:07 +08:00
parent 7bb931c97b
commit 85972f950c
70 changed files with 4754 additions and 1520 deletions

View File

@@ -4,7 +4,7 @@ import InputError from '@/Components/InputError.vue';
import InputLabel from '@/Components/InputLabel.vue';
import PrimaryButton from '@/Components/PrimaryButton.vue';
import TextInput from '@/Components/TextInput.vue';
import { Head, useForm } from '@inertiajs/vue3';
import { reactive } from 'vue';
const props = defineProps({
email: {
@@ -17,7 +17,7 @@ const props = defineProps({
},
});
const form = useForm({
const form = reactive({
token: props.token,
email: props.email,
password: '',
@@ -33,7 +33,7 @@ const submit = () => {
<template>
<GuestLayout>
<Head title="Reset Password" />
<div title="Reset Password"></div>
<form @submit.prevent="submit">
<div>