提交 648cc4a9 编写于 作者: L luoying_ace

fixed c58df2c6 from https://gitee.com/luoying_ace_admin/docs/pulls/10351

update zh-cn/application-dev/reference/arkui-js/js-components-container-dialog.md.
Signed-off-by: Nluoying_ace <luoying19@huawei.com>
上级 9b0401c6
......@@ -132,27 +132,27 @@
// xxx.js
import prompt from '@system.prompt';
export default {
showDialog(e) {
showDialog() {
this.$element('simpledialog').show()
},
cancelDialog(e) {
cancelDialog() {
prompt.showToast({
message: 'Dialog cancelled'
})
},
cancelSchedule(e) {
cancelSchedule() {
this.$element('simpledialog').close()
prompt.showToast({
message: 'Successfully cancelled'
})
},
setSchedule(e) {
setSchedule() {
this.$element('simpledialog').close()
prompt.showToast({
message: 'Successfully confirmed'
})
},
doubleclick(e){
doubleclick(){
prompt.showToast({
message: 'doubleclick'
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册