Skip to content

有return的三目运算符换行怎么做? #55

Open
@juntaoshuai

Description

@juntaoshuai

return exeEndUser.tel ? ${exeEndUser.userName}(${exeEndUser.tel}) : exeEndUser.userName

怎么换行?这样吗?
return exeEndUser.tel
? ${exeEndUser.userName}(${exeEndUser.tel})
: exeEndUser.userName

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions