We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let template = '<textarea v-model="commentContent" placeholder="请输入内容" style="height:150px"></textarea>'; let popup = $popup.fromTemplate(template, options) popup.show().then((buttonIndex) => { ...... });
data() { return { commentContent:'' }; },
The text was updated successfully, but these errors were encountered:
我想的办法就是: let template = '<textarea placeholder="请输入内容" style="height:150px">'+this.commentContent+'</textarea>';
Sorry, something went wrong.
let options = { effect: 'scale', title: '', buttons: [ {text: '发布', theme: 'assertive'}, {text: '发布1', theme: 'assertive'} ], showClose: true } buttons里配置的按钮,点击就直接关闭了,能否调用自己的逻辑后通过调用hide方法手动关闭
找了控制的地方,但是尝试自己修改一下 失败了 感觉我那样做很麻烦
No branches or pull requests
let template = '<textarea v-model="commentContent" placeholder="请输入内容" style="height:150px"></textarea>';
let popup = $popup.fromTemplate(template, options)
popup.show().then((buttonIndex) => {
......
});
data() {
return {
commentContent:''
};
},
The text was updated successfully, but these errors were encountered: