function cancel(){
    var close = config.cancel && config.cancel(that.index, layero);
    close === false || layer.close(that.index);
  }
function cancel(){
    var close = config.cancel && config.cancel(that.index, layero);
    close === false || layer.close(that.index);
  }
function cancel ( ) { var close = config . cancel && config . cancel ( that . index , layero ) ; close === false || layer . close ( that . index ) ; }
取消
取消