mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
style: 修复eslint和stylelint (#3303)
Co-authored-by: DreamyTZK <i@tzki.cn>
This commit is contained in:
parent
d7472b8a2e
commit
a9530877c0
@ -89,7 +89,8 @@ export class VAxios {
|
||||
// Request interceptor configuration processing
|
||||
this.axiosInstance.interceptors.request.use((config: InternalAxiosRequestConfig) => {
|
||||
// If cancel repeat request is turned on, then cancel repeat request is prohibited
|
||||
const requestOptions = (config as unknown as any).requestOptions ?? this.options.requestOptions;
|
||||
const requestOptions =
|
||||
(config as unknown as any).requestOptions ?? this.options.requestOptions;
|
||||
const ignoreCancelToken = requestOptions?.ignoreCancelToken ?? true;
|
||||
|
||||
!ignoreCancelToken && axiosCanceler.addPending(config);
|
||||
|
@ -68,5 +68,4 @@
|
||||
import Icon from '@/components/Icon/Icon.vue';
|
||||
import { openWindow } from '@/utils';
|
||||
import { PageWrapper } from '@/components/Page';
|
||||
|
||||
</script>
|
||||
|
@ -16,8 +16,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { useRouter } from 'vue-router';
|
||||
import { computed, ref, unref } from 'vue';
|
||||
|
||||
import { Input } from 'ant-design-vue';
|
||||
import { PageWrapper } from '@/components/Page';
|
||||
|
||||
const value = ref('');
|
||||
|
@ -338,13 +338,14 @@
|
||||
@prefix-cls: ~'@{namespace}-form-design';
|
||||
|
||||
[data-theme='dark'] {
|
||||
.@{prefix-cls}-sider{
|
||||
background-color: #1f1f1f;
|
||||
}}
|
||||
.@{prefix-cls}-sider {
|
||||
background-color: #1f1f1f;
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme='light'] {
|
||||
.@{prefix-cls}-sider{
|
||||
background-color: #fff;
|
||||
}
|
||||
.@{prefix-cls}-sider {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -28,9 +28,9 @@
|
||||
<div :class="`${prefixCls}-entry`" v-show="!showDate">
|
||||
<div :class="`${prefixCls}-entry-content`">
|
||||
<div :class="`${prefixCls}-entry__header enter-x`">
|
||||
<img :src="userinfo.avatar || headerImg" :class="`${prefixCls}-entry__header-img`" />
|
||||
<img :src="userInfo.avatar || headerImg" :class="`${prefixCls}-entry__header-img`" />
|
||||
<p :class="`${prefixCls}-entry__header-name`">
|
||||
{{ userinfo.realName }}
|
||||
{{ userInfo.realName }}
|
||||
</p>
|
||||
</div>
|
||||
<InputPassword
|
||||
@ -102,7 +102,7 @@
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const userinfo = computed(() => {
|
||||
const userInfo = computed(() => {
|
||||
return userStore.getUserInfo || {};
|
||||
});
|
||||
|
||||
@ -133,6 +133,7 @@
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
/* stylelint-disable media-query-no-invalid */
|
||||
@prefix-cls: ~'@{namespace}-lock-page';
|
||||
|
||||
.@{prefix-cls} {
|
||||
|
Loading…
Reference in New Issue
Block a user