Skip to content

动态指定导出excel文件名报错 #40

@taiziye

Description

@taiziye

当使用Spel动态指定导出excel的文件名时,
@ResponseExcel(name = "#{T(java.lang.Math).PI * 80}", sheets = @sheet(sheetName = "导出数据"))

报错“org.springframework.expression.spel.SpelParseException: Expression [#{T(java.lang.Math).PI * 80}] @1: EL1043E: Unexpected token. Expected 'identifier' but was 'lcurly({)'”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions