Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdn 模式 el-popconfirm 确认取消不好使 #20118

Closed
jmsdqwl opened this issue Sep 2, 2020 · 5 comments
Closed

cdn 模式 el-popconfirm 确认取消不好使 #20118

jmsdqwl opened this issue Sep 2, 2020 · 5 comments

Comments

@jmsdqwl
Copy link

jmsdqwl commented Sep 2, 2020

<el-popconfirm
title="确定删除吗?"
@on-confirm="confirm"
>

confirm: function (val) {
console.log('aaa')
}

不起作用

@shujiawei
Copy link

onConfirm 应该这样写吧

@jmsdqwl
Copy link
Author

jmsdqwl commented Sep 14, 2020

onConfirm 应该这样写吧

CDN模式下 得像我那么写 VUE自身会有提示

@pcode
Copy link

pcode commented Sep 17, 2020

确实不好用。编译环境里面是ok的。但是cdn的方式使用的时候,一点儿效果都没有。这个事件就是绑定不上函数。
按照vue的提示信息去改了一个非驼峰方案的名称,然而并无奇效。希望开发团队修改一下,这应该是个bug

@jmsdqwl
Copy link
Author

jmsdqwl commented Sep 23, 2020

你用没用过上传组件里面的 多选上传的功能 第一次上传行 第二次修改他 把文件删除了 就不能再多选了 1次选一个没问题 一多选就不行

@iamkun
Copy link
Member

iamkun commented Oct 29, 2020

Now fixed to the correct 'confirm' and 'cancel' event name in #20240

@iamkun iamkun closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants