From 4f7c73582b763d64439434350a0cbef69f86bcfa Mon Sep 17 00:00:00 2001 From: root <13910913995@163.com> Date: Fri, 14 Mar 2025 09:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/config/common.ts | 32 +++++++++---------- .../src/layout/components/Header.vue | 4 +-- core/core-frontend/src/views/login/index.vue | 10 +++--- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/core/core-frontend/config/common.ts b/core/core-frontend/config/common.ts index 209d519..94c0c45 100644 --- a/core/core-frontend/config/common.ts +++ b/core/core-frontend/config/common.ts @@ -1,9 +1,9 @@ import path from 'path' import { resolve } from 'path' import Vue from '@vitejs/plugin-vue' -import eslintPlugin from 'vite-plugin-eslint' +// import eslintPlugin from 'vite-plugin-eslint' import VueJsx from '@vitejs/plugin-vue-jsx' -import viteStylelint from 'vite-plugin-stylelint' +// import viteStylelint from 'vite-plugin-stylelint' import { createStyleImportPlugin, ElementPlusSecondaryResolve @@ -49,20 +49,20 @@ export default { runtimeOnly: false, compositionOnly: true, include: [resolve(__dirname, 'src/locales/**')] - }), - eslintPlugin({ - cache: true, - include: [ - 'src/**/*.ts', - 'src/**/*.tsx', - 'src/**/*.js', - 'src/**/*.vue', - 'src/*.ts', - 'src/*.js', - 'src/*.vue' - ] - }), - viteStylelint() + }) +// eslintPlugin({ +// cache: true, +// include: [ +// 'src/**/*.ts', +// 'src/**/*.tsx', +// 'src/**/*.js', +// 'src/**/*.vue', +// 'src/*.ts', +// 'src/*.js', +// 'src/*.vue' +// ] +// }), +// viteStylelint() ], css: { preprocessorOptions: { diff --git a/core/core-frontend/src/layout/components/Header.vue b/core/core-frontend/src/layout/components/Header.vue index 18dd33b..28fbf30 100644 --- a/core/core-frontend/src/layout/components/Header.vue +++ b/core/core-frontend/src/layout/components/Header.vue @@ -131,10 +131,10 @@ onMounted(() => {