Skip to content

wd-slider 这个组件有问题,我把例子放到代码中,没有改动,就直接粘贴上去,就出错误了, #226

@5565007

Description

@5565007

Wot Design Uni 版本号

0.1.1

平台

h5

重现链接

重现步骤

直接提示下面的错误

main.ts:1 ReferenceError: Cannot access 'emit' before initialization
at leftBarSlider (wd-slider.vue:293:5)
at watch.deep (wd-slider.vue:166:7)
at callWithErrorHandling (vue.runtime.esm.js:1376:1)
at callWithAsyncErrorHandling (vue.runtime.esm.js:1385:1)
at job (vue.runtime.esm.js:3073:1)
at doWatch (vue.runtime.esm.js:3116:1)
at watch (vue.runtime.esm.js:2949:1)
at setup (wd-slider.vue:139:1)
at callWithErrorHandling (vue.runtime.esm.js:1376:1)
at setupStatefulComponent (vue.runtime.esm.js:8654:1)

期望的结果是什么?

期望修复一下

实际的结果是什么?

期望修复一下

环境信息

No response

其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions