fix.
This commit is contained in:
@@ -4,11 +4,6 @@ import { useUserStore } from "./store/user"
|
||||
import { useConfigStore } from "./store/config"
|
||||
import { isDark, toggleDark } from "~/shared/composables/dark"
|
||||
import { toggleLogin, toggleSignup } from "~/shared/composables/modal"
|
||||
import type {
|
||||
MenuOption,
|
||||
DropdownOption,
|
||||
DropdownDividerOption,
|
||||
} from "naive-ui"
|
||||
import { RouterLink } from "vue-router"
|
||||
import { isDesktop, isMobile } from "~/shared/composables/breakpoints"
|
||||
import { code } from "~/shared/composables/learn"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
import { login } from "./api"
|
||||
import { loginModal, toggleLogin, toggleSignup } from "./composables/modal"
|
||||
import { useUserStore } from "./store/user"
|
||||
import type { FormRules } from "naive-ui"
|
||||
|
||||
const userStore = useUserStore()
|
||||
const loginRef = ref()
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
import { getCaptcha, signup, login } from "./api"
|
||||
import { signupModal, toggleLogin, toggleSignup } from "./composables/modal"
|
||||
import { useUserStore } from "./store/user"
|
||||
import type { FormItemRule, FormRules } from "naive-ui"
|
||||
|
||||
const userStore = useUserStore()
|
||||
const signupRef = ref()
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { MenuOption } from "naive-ui"
|
||||
import { RouterLink } from "vue-router"
|
||||
import { STORAGE_KEY } from "~/utils/constants"
|
||||
import storage from "~/utils/storage"
|
||||
|
||||
Reference in New Issue
Block a user