Skip to content

Commit 5221b20

Browse files
committed
🐞 fix: 删除未导入
1 parent f81f3ed commit 5221b20

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

src/components/Layout/Nav.vue

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@
9191
<script setup lang="ts">
9292
import type { DropdownOption } from "naive-ui";
9393
import { useSettingStore } from "@/stores";
94-
import { openLink, renderIcon } from "@/utils/helper";
94+
import { renderIcon } from "@/utils/helper";
9595
import { openSetting } from "@/utils/modal";
9696
import { isDev, isElectron } from "@/utils/env";
97-
import packageJson from "@/../package.json";
9897
9998
const router = useRouter();
10099
const settingStore = useSettingStore();
@@ -159,29 +158,6 @@ const setOptions = computed<DropdownOption[]>(() => [
159158
key: "divider-1",
160159
type: "divider",
161160
},
162-
// {
163-
// // 交流群
164-
// key: "qq",
165-
// label: "加入交流群",
166-
// props: {
167-
// onClick: () =>
168-
// openLink(
169-
// "https://qm.qq.com/cgi-bin/qm/qr?k=2-cVSf1bE0AvAehCib00qFEFdUvPaJ_k&jump_from=webapi&authKey=1NEhib9+GsmsXVo2rCc0IbRaVHeeRXJJ0gbsyKDcIwDdAzYySOubkFCvkV32+7Cw",
170-
// ),
171-
// },
172-
// icon: renderIcon("QQ"),
173-
// },
174-
// {
175-
// // 交流群
176-
// key: "github",
177-
// label: "开源仓库",
178-
// props: { onClick: () => openLink(packageJson.github) },
179-
// icon: renderIcon("Github"),
180-
// },
181-
// {
182-
// key: "divider-2",
183-
// type: "divider",
184-
// },
185161
{
186162
// 重启
187163
key: "restart",

0 commit comments

Comments
 (0)