This commit is contained in:
2025-01-15 11:55:28 +08:00
parent 9be8827b6c
commit 1ea808e3ff
15 changed files with 29 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { getCaptcha, login, signup } from "../api"
import { getCaptcha, signup } from "../api"
import { signupModal, toggleLogin, toggleSignup } from "../composables/modal"
import { useUserStore } from "../store/user"

View File

@@ -1,5 +1,9 @@
<script setup lang="ts">
import { IDomEditor, IEditorConfig, IToolbarConfig } from "@wangeditor-next/editor"
import {
IDomEditor,
IEditorConfig,
IToolbarConfig,
} from "@wangeditor-next/editor"
import { Editor, Toolbar } from "@wangeditor-next/editor-for-vue"
import "@wangeditor-next/editor/dist/css/style.css"
import { uploadImage } from "../../admin/api"

View File

@@ -10,7 +10,9 @@ import Signup from "../components/Signup.vue"
<n-layout-header bordered class="header">
<Header />
</n-layout-header>
<n-layout-content content-style="padding: 16px; overflow-x: initial; max-width: 2000px; margin: 0 auto;">
<n-layout-content
content-style="padding: 16px; overflow-x: initial; max-width: 2000px; margin: 0 auto;"
>
<router-view></router-view>
</n-layout-content>
<Login />