feat: 升级stylelint依赖并修复相关问题
- 更新stylelint到16.x版本 - 修复postcss版本冲突 - 解决循环依赖问题 - 优化代码类型定义
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import PageLayout from '@/layout/page-layout.vue';
|
||||
import { DEFAULT_LAYOUT } from '../base';
|
||||
import { AppRouteRecordRaw } from '../types';
|
||||
import PageLayout from '@/layout/page-layout.vue';
|
||||
// 业务路由
|
||||
const BUSINESS: AppRouteRecordRaw = {
|
||||
path: '/business',
|
||||
@@ -20,7 +20,12 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'project',
|
||||
name: 'business-project',
|
||||
component: () => import('@/views/business/project/index.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-project" */
|
||||
/* webpackPreload: true */
|
||||
'@/views/business/project/index.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.project',
|
||||
requiresAuth: true,
|
||||
@@ -47,7 +52,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'house-view',
|
||||
name: 'business-space-house-view',
|
||||
component: () => import('@/views/business/space/house-view.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-space" */
|
||||
'@/views/business/space/house-view.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.house-view',
|
||||
requiresAuth: true,
|
||||
@@ -59,7 +68,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'house-list',
|
||||
name: 'business-space-house-list',
|
||||
component: () => import('@/views/business/space/house-list.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-space" */
|
||||
'@/views/business/space/house-list.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.house-list',
|
||||
requiresAuth: true,
|
||||
@@ -88,7 +101,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'contract-list',
|
||||
name: 'business-contract-list',
|
||||
component: () => import('@/views/business/contract/list.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-contract" */
|
||||
'@/views/business/contract/list.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.contract-list',
|
||||
requiresAuth: true,
|
||||
@@ -101,7 +118,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'contract-file',
|
||||
name: 'business-contract-file',
|
||||
component: () => import('@/views/business/contract/file.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-contract" */
|
||||
'@/views/business/contract/file.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.contract-file',
|
||||
requiresAuth: true,
|
||||
@@ -114,7 +135,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'contract-template',
|
||||
name: 'business-contract-template',
|
||||
component: () => import('@/views/business/contract/template.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-contract" */
|
||||
'@/views/business/contract/template.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.contract-template',
|
||||
requiresAuth: true,
|
||||
@@ -143,7 +168,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'tenant-list',
|
||||
name: 'business-tenant-list',
|
||||
component: () => import('@/views/business/tenant/list.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-tenant" */
|
||||
'@/views/business/tenant/list.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.tenant-list',
|
||||
requiresAuth: true,
|
||||
@@ -156,7 +185,11 @@ const BUSINESS: AppRouteRecordRaw = {
|
||||
{
|
||||
path: 'tenant-contacts',
|
||||
name: 'business-tenant-contacts',
|
||||
component: () => import('@/views/business/tenant/contacts.vue'),
|
||||
component: () =>
|
||||
import(
|
||||
/* webpackChunkName: "business-tenant" */
|
||||
'@/views/business/tenant/contacts.vue'
|
||||
),
|
||||
meta: {
|
||||
locale: 'menu.business.tenant.contacts',
|
||||
requiresAuth: true,
|
||||
|
||||
Reference in New Issue
Block a user