style: fix eslint error

pull/4675/head
tangjinzhou 3 years ago
parent 8a63049802
commit b2b27aeba7

@ -331,7 +331,7 @@ function generateCalendar<
return app;
};
return Calendar as unknown as (props: CalendarProps<DateType>) => JSX.Element;
return Calendar;
}
export default generateCalendar;

@ -1,5 +1,5 @@
import { defineComponent, inject } from 'vue';
import { GLOBAL_CONFIG } from '@/SymbolKey';
import { GLOBAL_CONFIG } from '../SymbolKey';
export default defineComponent({
props: {

@ -1,5 +1,5 @@
import { isZhCN } from '../utils/util';
import packageInfo from '../../package.json';
import packageInfo from '../../../package.json';
import logo from '../assets/logo.svg';
import antDesignVue from '../assets/ant-design-vue.svg';
import { SearchOutlined } from '@ant-design/icons-vue';

@ -1,56 +0,0 @@
import UserLayout from '../layouts/UserLayout';
import BaseLayout from '../layouts/BaseLayout';
export default [
{
path: '/vip',
component: () => import('../views/vip.vue'),
},
{
path: '/jobs',
component: BaseLayout,
props: () => {
return { name: 'list-cn' };
},
children: [
{
path: '/jobs',
redirect: '/jobs/list-cn',
},
{
path: '/jobs/list-cn',
name: 'list-cn',
component: () => import(/* webpackChunkName: "jobs" */ '../views/jobs.vue'),
},
],
},
{
path: '/user',
component: UserLayout,
children: [
{
path: '/user',
redirect: '/user/login',
},
{
path: '/user/login',
name: 'login',
component: () =>
import(
/* webpackChunkName: "user" */
'../views/user/login'
),
},
{
path: '/user/register',
name: 'register',
component: () => import(/* webpackChunkName: "user" */ '../views/user/register'),
},
{
path: '/user/register-result',
name: 'register.result',
component: () => import(/* webpackChunkName: "user" */ '../views/user/register-result'),
},
],
},
];

@ -1,4 +1,5 @@
import ItemMap from './map';
// eslint-disable-next-line import/no-unresolved
import WrapFormItem from './WrapFormItem';
const LoginItem = {};

@ -1,3 +1,4 @@
/* eslint-disable import/no-unresolved */
import Login from './Login';
import LoginSubmit from './LoginSubmit';
import LoginTab from './LoginTab';

@ -3,6 +3,3 @@ declare module '*.json' {
export const version: string;
export default value;
}
export * from '../plugin/docs';
export * from '../plugin/md';

Loading…
Cancel
Save