From b1593b1c8ed105ee676ff8a1dcdc9d0b5200d39c Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 6 Mar 2025 00:12:38 +0800 Subject: [PATCH] code lint --- components.d.ts | 1 + index.html | 1 + package-lock.json | 39 ++++++++----------- package.json | 3 +- src/api.ts | 48 ++++++++++++------------ src/components/Editor.vue | 10 ++--- src/components/Preview.vue | 15 +++++--- src/components/Tutorial.vue | 14 ++++--- src/components/dashboard/UserActions.vue | 6 +-- src/main.ts | 2 - src/pages/UserManage.vue | 45 +++++++++++++++++++--- 11 files changed, 104 insertions(+), 80 deletions(-) diff --git a/components.d.ts b/components.d.ts index 67a3d3e..a8f37e3 100644 --- a/components.d.ts +++ b/components.d.ts @@ -30,6 +30,7 @@ declare module 'vue' { NModal: typeof import('naive-ui')['NModal'] NModalProvider: typeof import('naive-ui')['NModalProvider'] NPagination: typeof import('naive-ui')['NPagination'] + NSelect: typeof import('naive-ui')['NSelect'] NSplit: typeof import('naive-ui')['NSplit'] NSwitch: typeof import('naive-ui')['NSwitch'] NTabPane: typeof import('naive-ui')['NTabPane'] diff --git a/index.html b/index.html index 97158b9..db7c352 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ 前端开发学习平台 + @@ -12,10 +12,11 @@