Skip to content

希望自定义事件可以支持携带: #941

@WaterAndBin

Description

@WaterAndBin

我尝试这样子的自定义事件,这里是在vue里面的写法
<y-switch :value="test" @update:value="(data) => (test = data.detail)"></y-switch>
在omi里面的写法是这种
this.fire('update:value', 123);或者this.fire('[update:value]', 123);
但是不会去触发这个自定义事件,希望可以支持或者请问有什么方法可以解决吗?感谢

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