我在打字稿中使用了alertify插件,但无法识别getData功能。请看下面的代码 copyTemplate(id:any, pluginId:any, name:any) {
alertify.confirm(`Are you sure you want to copy ${name} to a new project template?`, function() {
t
我想,当有人试图从页面导航使用alertify确认框。但在路线的willTransition行动,alertify非常异步的,余烬不会等待确认。无论您点击什么,该页面都已被导航。 willTransition(transition) {
alertify.confirm('Confirm', 'Are you sure you want to navigate?', function(e