Match-id-a2ff0c3642c1fb4b11d6b634a3fba736bf98d405

This commit is contained in:
* 2022-03-24 16:08:18 +08:00 committed by *
parent c5dbb91635
commit a4f376b84b
2 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,8 @@ module.exports = {
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'semi': ["error", "always"],
'semi': ['warn', 'always'],
'quotes': ['warn', 'single'],
'accessor-pairs': 'off',
'brace-style': ['error', '1tbs'],
'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]) {
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