Skip to content

HTML特性 #586

Closed
Closed
@hqzh

Description

@hqzh

特性
Mustache 语法不能作用在 HTML 特性上,遇到这种情况应该使用 v-bind 指令:

这同样适用于布尔类特性,如果求值结果是 falsy 的值 (译者注:falsy 不是 false,参考这里),则该特性将会被删除: Button

// 但是值为0 和 NaN 该特性没有被删除

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions