diff --git a/console/src/modules/contents/comments/components/CommentListItem.vue b/console/src/modules/contents/comments/components/CommentListItem.vue index 67ab5d7a4..fe125c50e 100644 --- a/console/src/modules/contents/comments/components/CommentListItem.vue +++ b/console/src/modules/contents/comments/components/CommentListItem.vue @@ -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"; diff --git a/console/src/modules/system/plugins/layouts/PluginLayout.vue b/console/src/modules/system/plugins/layouts/PluginLayout.vue index 9bc0fbb96..45d929ee2 100644 --- a/console/src/modules/system/plugins/layouts/PluginLayout.vue +++ b/console/src/modules/system/plugins/layouts/PluginLayout.vue @@ -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(); provide>("plugin", plugin); provide>("activeTab", activeTab); -const { isStarted } = usePluginLifeCycle(plugin); - const handleFetchPlugin = async () => { try { const response =