This commit is contained in:
guange 2016-07-07 14:51:54 +08:00
parent a17a6ed596
commit 7859bf9c32
1 changed files with 0 additions and 3 deletions

View File

@ -30,9 +30,6 @@ app.directive('myAlert2', ['config', function(config){
link: function(scope){
scope.dismiss = function(){
scope.visible = false;
if(typeof scope.cb === 'function'){
scope.cb();
}
};
scope.confirm = function(){
scope.visible = false;