|
|
|
@ -21,7 +21,7 @@ const route = useRoute()
|
|
|
|
|
|
|
|
|
|
const { project, loadProject, updateProject, isLoading } = useProject() |
|
|
|
|
|
|
|
|
|
await loadProject() |
|
|
|
|
loadProject(false) |
|
|
|
|
|
|
|
|
|
const nameValidationRules = [ |
|
|
|
|
{ |
|
|
|
@ -66,12 +66,12 @@ onMounted(async () => {
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div |
|
|
|
|
class="update-project bg-white relative flex-auto flex flex-col justify-center gap-2 p-8 md:(rounded-lg border-1 border-gray-200 shadow-xl)" |
|
|
|
|
class="update-project relative flex-auto flex flex-col justify-center gap-2 p-8 md:(bg-white rounded-lg border-1 border-gray-200 shadow)" |
|
|
|
|
> |
|
|
|
|
<LazyGeneralNocoIcon class="color-transition hover:(ring ring-accent)" :animate="isLoading" /> |
|
|
|
|
|
|
|
|
|
<div |
|
|
|
|
class="color-transition transform group absolute top-5 left-5 text-4xl rounded-full bg-white cursor-pointer" |
|
|
|
|
class="color-transition transform group absolute top-5 left-5 text-4xl rounded-full cursor-pointer" |
|
|
|
|
@click="navigateTo('/')" |
|
|
|
|
> |
|
|
|
|
<MdiChevronLeft class="text-black group-hover:(text-accent scale-110)" /> |
|
|
|
@ -79,7 +79,9 @@ onMounted(async () => {
|
|
|
|
|
|
|
|
|
|
<h1 class="prose-2xl font-bold self-center my-4">{{ $t('activity.editProject') }}</h1> |
|
|
|
|
|
|
|
|
|
<a-skeleton v-if="isLoading" /> |
|
|
|
|
<a-form |
|
|
|
|
v-else |
|
|
|
|
ref="form" |
|
|
|
|
:model="formState" |
|
|
|
|
name="basic" |
|
|
|
|