@@ -15,6 +15,7 @@ starter.controller('AuthUserCtrl', function ($scope, $state, $ionicSlideBoxDeleg
showPopup.showLoading(1, '正在提交', false);
User.user("PostUser").save("'" + JSON.stringify($scope.authuser) + "'", function (res) {
console.log(res);
+ $window.history.back();
showPopup.hideLoading();
}, function (err) {
if (err.status == 400)
@@ -1,4 +1,7 @@
<ion-view view-title="{{title}}">
+ <ion-nav-buttons side="left">
+ <ion-back-button></ion-back-button>
+ </ion-nav-buttons>
<ion-content>
<div class="item item-divider"></div>
<form name="formuser" novalidate>