art: 格式化代码
All checks were successful
Release / lint (push) Successful in 29s
Release / Release (push) Successful in 1m20s

This commit is contained in:
my_ong
2024-12-13 21:42:28 +08:00
parent 15b6ba779e
commit 3cb34c8554
14 changed files with 747 additions and 714 deletions

View File

@@ -447,7 +447,6 @@ export default class MyGenerator extends CodeGenerator {
const hasPagination = inter.response.typeName.indexOf('Pagination') >= 0
const hasCodebook = inter.response.typeArgs[0] && inter.response.typeArgs[0].typeName.indexOf('Codebook') >= 0
const hasVxe = !!inter.parameters.find((p) => p.dataType.typeName.indexOf('VXETableSaveDTO') >= 0)
// const defTypes = this.getAllRefTypeNames(inter);
const imports = [
hasResult ? 'Result' : null,
hasIPage ? 'IPage' : null,