- > HTML代码刷新数据获取angularJS关闭
<button type="button" class="btn btn-primary" ng-click="platformAppConfigurationCreate()">
<span class="fa fa-plus"></span>
<span class="hidden-xs hidden-sm">
Create
</span>
</button>
- > Controller.js代码
$scope.platformAppConfigurationCreate = function() {
$uibModal.open({
templateUrl: 'app/entities/platform-app/platform-app-configuration-dialog.html',
controller: 'PlatformAppConfigurationDialogController',
controllerAs: 'vm',
backdrop: 'static',
size: 'lg',
resolve: {
entity: function() {
return {
appConfigUuId: null,
appConfigName: null,
appConfigDesc: null,
appConfigDisplayImageRef: null,
appConfigExtraInfo: null,
id: null
};
}
}
});
}
我想模式弹出被关闭后重新加载页面。我应该如何实现它?
有模态关闭时调用的函数。 – AlainIb
你使用angular-ui吗? –
http://stackoverflow.com/questions/36066602/is-there-a-way-to-intercept-bootstapuis-uibmodal-dismissed-event – AlainIb