Match-id-a41469cf2ad241a94d6f75a6753fd7af282d1453

This commit is contained in:
* 2022-03-24 16:04:38 +08:00 committed by *
parent 78054d047a
commit c5dbb91635
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ module.exports = {
rules: { rules: {
'@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-non-null-assertion': 'off',
'semi': ["error", "always"],
'accessor-pairs': 'off', 'accessor-pairs': 'off',
'brace-style': ['error', '1tbs'], 'brace-style': ['error', '1tbs'],
'func-style': ['warn', 'declaration', { allowArrowFunctions: true }], 'func-style': ['warn', 'declaration', { allowArrowFunctions: true }],

View File

@ -56,7 +56,7 @@ export function getLazyVNodeTag(lazyComp: any): string {
} else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) { } else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) {
return typeLazyMap[lazyComp.vtype]; return typeLazyMap[lazyComp.vtype];
} }
throw Error("Horizon can't resolve the content of lazy ") throw Error("Horizon can't resolve the content of lazy ");
} }
// 创建processing // 创建processing