mirror of
https://github.com/henry4682/finance_app.git
synced 2026-07-16 00:10:00 +00:00
feat: 前端分離+功能api化
1. 新增資產管理CRUD、googleOAuth登入 2. 更改原記帳controller
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user