- > 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