Open chqsj opened 2 years ago
Dialog.confirm({ selector: '#van-dialog', context: this, // 添加this指向 title: '标题', message: '弹窗内容' }).then(() => { // on confirm }).catch(() => { // on cancel });
Dialog.confirm({ selector: '#van-dialog', context: this, // 添加this指向 title: '标题', message: '弹窗内容' }).then(() => { // on confirm }).catch(() => { // on cancel });