angularjs – “关闭”一个模态和“关闭”一个模态在Angular UI-
发布时间:2020-12-17 09:02:04 所属栏目:安全 来源:网络整理
导读:“关闭”模态和“关闭”模态之间的区别是什么? close(result) - a method that can be used to close a modal,passing a resultdismiss(reason) - a method that can be used to dismiss a modal,passing a reason 答案在文档中,紧接着你引用的两行: The
“关闭”模态和“关闭”模态之间的区别是什么?
close(result) - a method that can be used to close a modal,passing a result dismiss(reason) - a method that can be used to dismiss a modal,passing a reason
答案在文档中,紧接着你引用的两行:
这里的重要位置是承诺发生了什么。关闭,承诺被解决 – 本质上,“成功”回调触发。在关闭时,promise被拒绝,因此运行“failure”回调。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |