vonic icon indicating copy to clipboard operation
vonic copied to clipboard

popup中通过v-model绑定报错

Open michael2043 opened this issue 6 years ago • 3 comments

let template = ''; let popup = $popup.fromTemplate(template, options) popup.show().then((buttonIndex) => { ...... });

data() { return { commentContent:'' }; }, image

michael2043 avatar Jan 27 '19 13:01 michael2043

我想的办法就是: let template = '';

YanAnHuaZai avatar Jan 27 '19 14:01 YanAnHuaZai

let options = { effect: 'scale', title: '', buttons: [ {text: '发布', theme: 'assertive'}, {text: '发布1', theme: 'assertive'} ], showClose: true } buttons里配置的按钮,点击就直接关闭了,能否调用自己的逻辑后通过调用hide方法手动关闭

michael2043 avatar Jan 28 '19 12:01 michael2043

找了控制的地方,但是尝试自己修改一下 失败了 感觉我那样做很麻烦

YanAnHuaZai avatar Jan 30 '19 12:01 YanAnHuaZai