選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

dialogerror.js 499B

123456789101112131415161718
  1. /**
  2. * Created by robin on 11/3/15.
  3. */
  4. 'use strict';
  5. angular.module('luticateUtils').
  6. controller('luticateDialogError', ['$scope', 'data', '$state', 'luticateAuthCache',
  7. function ($scope, data, $state, luticateAuthCache) {
  8. $scope.message = data.message;
  9. $scope.showLogin = data.data.Status == 401;
  10. $scope.reconnect = function()
  11. {
  12. $scope.$dismiss();
  13. luticateAuthCache.removeUser();
  14. $state.go('login');
  15. };
  16. }]);