mirror of https://github.com/halo-dev/halo
chore: remove unused vars and imports to fix eslint warning (#3526)
#### What type of PR is this? /kind improvement /area console #### What this PR does / why we need it: 移除 Console 未使用的变量和导入,解决 ESLint 的警告。 <img width="854" alt="image" src="https://user-images.githubusercontent.com/21301288/225866000-f9448643-064a-4d2b-b023-387f81f0ca8e.png"> <img width="877" alt="image" src="https://user-images.githubusercontent.com/21301288/225866074-ead93a6c-f37f-4711-941c-4bdbbfe0fbe7.png"> ```release-note None ```pull/3425/head
parent
69f7b18aad
commit
2c3f9ef7dc
|
@ -22,7 +22,7 @@ import type {
|
|||
SinglePage,
|
||||
} from "@halo-dev/api-client";
|
||||
import { formatDatetime } from "@/utils/date";
|
||||
import { computed, provide, ref, watch, type Ref } from "vue";
|
||||
import { computed, provide, ref, type Ref } from "vue";
|
||||
import ReplyListItem from "./ReplyListItem.vue";
|
||||
import { apiClient } from "@/utils/api-client";
|
||||
import type { RouteLocationRaw } from "vue-router";
|
||||
|
|
|
@ -21,7 +21,6 @@ import BasicLayout from "@/layouts/BasicLayout.vue";
|
|||
import type { Ref } from "vue";
|
||||
import type { Plugin, Setting, SettingForm } from "@halo-dev/api-client";
|
||||
import { usePermission } from "@/utils/permission";
|
||||
import { usePluginLifeCycle } from "../composables/use-plugin";
|
||||
|
||||
const { currentUserHasPermission } = usePermission();
|
||||
|
||||
|
@ -55,8 +54,6 @@ const activeTab = ref<string>();
|
|||
provide<Ref<Plugin | undefined>>("plugin", plugin);
|
||||
provide<Ref<string | undefined>>("activeTab", activeTab);
|
||||
|
||||
const { isStarted } = usePluginLifeCycle(plugin);
|
||||
|
||||
const handleFetchPlugin = async () => {
|
||||
try {
|
||||
const response =
|
||||
|
|
Loading…
Reference in New Issue