修改了检测
This commit is contained in:
parent
a1160750c4
commit
4f7c73582b
@ -1,9 +1,9 @@
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { resolve } from 'path'
|
import { resolve } from 'path'
|
||||||
import Vue from '@vitejs/plugin-vue'
|
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 VueJsx from '@vitejs/plugin-vue-jsx'
|
||||||
import viteStylelint from 'vite-plugin-stylelint'
|
// import viteStylelint from 'vite-plugin-stylelint'
|
||||||
import {
|
import {
|
||||||
createStyleImportPlugin,
|
createStyleImportPlugin,
|
||||||
ElementPlusSecondaryResolve
|
ElementPlusSecondaryResolve
|
||||||
@ -49,20 +49,20 @@ export default {
|
|||||||
runtimeOnly: false,
|
runtimeOnly: false,
|
||||||
compositionOnly: true,
|
compositionOnly: true,
|
||||||
include: [resolve(__dirname, 'src/locales/**')]
|
include: [resolve(__dirname, 'src/locales/**')]
|
||||||
}),
|
})
|
||||||
eslintPlugin({
|
// eslintPlugin({
|
||||||
cache: true,
|
// cache: true,
|
||||||
include: [
|
// include: [
|
||||||
'src/**/*.ts',
|
// 'src/**/*.ts',
|
||||||
'src/**/*.tsx',
|
// 'src/**/*.tsx',
|
||||||
'src/**/*.js',
|
// 'src/**/*.js',
|
||||||
'src/**/*.vue',
|
// 'src/**/*.vue',
|
||||||
'src/*.ts',
|
// 'src/*.ts',
|
||||||
'src/*.js',
|
// 'src/*.js',
|
||||||
'src/*.vue'
|
// 'src/*.vue'
|
||||||
]
|
// ]
|
||||||
}),
|
// }),
|
||||||
viteStylelint()
|
// viteStylelint()
|
||||||
],
|
],
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
@ -131,10 +131,10 @@ onMounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<el-header class="header-flex" :class="{ 'header-light': navigateBg && navigateBg === 'light' }">
|
<el-header class="header-flex" :class="{ 'header-light': navigateBg && navigateBg === 'light' }">
|
||||||
<!-- <img class="logo" v-if="navigate" :src="navigate" alt="" />
|
<img class="logo" v-if="navigate" :src="navigate" alt="" />
|
||||||
<Icon v-else
|
<Icon v-else
|
||||||
><logo @click="handleIconClick" class="svg-icon logo" style="cursor: pointer"
|
><logo @click="handleIconClick" class="svg-icon logo" style="cursor: pointer"
|
||||||
/></Icon> -->
|
/></Icon>
|
||||||
<el-menu
|
<el-menu
|
||||||
:default-active="activeIndex"
|
:default-active="activeIndex"
|
||||||
class="el-menu-demo"
|
class="el-menu-demo"
|
||||||
|
@ -295,18 +295,18 @@ onMounted(async () => {
|
|||||||
:disabled="preheat"
|
:disabled="preheat"
|
||||||
>
|
>
|
||||||
<div class="login-logo">
|
<div class="login-logo">
|
||||||
<!-- <Icon
|
<Icon
|
||||||
v-if="!loginLogoUrl && axiosFinished"
|
v-if="!loginLogoUrl && axiosFinished"
|
||||||
className="login-logo-icon"
|
className="login-logo-icon"
|
||||||
name="DataEase"
|
name="DataEase"
|
||||||
>
|
>
|
||||||
<DataEase class="login-logo-icon" />
|
<DataEase class="login-logo-icon" />
|
||||||
</Icon> -->
|
</Icon>
|
||||||
<!-- <img v-if="loginLogoUrl && axiosFinished" :src="loginLogoUrl" alt="" /> -->
|
<img v-if="loginLogoUrl && axiosFinished" :src="loginLogoUrl" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="login-welcome">
|
<div class="login-welcome">
|
||||||
{{ slogan || t('system.available_to_everyone') }}
|
{{ slogan || t('system.available_to_everyone') }}
|
||||||
</div> -->
|
</div>
|
||||||
<div class="login-form">
|
<div class="login-form">
|
||||||
<div
|
<div
|
||||||
class="default-login-tabs"
|
class="default-login-tabs"
|
||||||
|
Loading…
Reference in New Issue
Block a user