src/main/webapp/scripts/app/user/userModify.controller.js
@@ -148,6 +148,11 @@ if (result.message.status === "success") { if (result.data != null) { $rootScope.user = result.data; // 전역으로 사용하는 로그인 사용자 정보. // 전화번호 하이픈 추가하여 조회 $scope.vm.phone = $rootScope.user.phone; let hyphen = $scope.vm.phone.trim(); let phone = hyphen.replace(/(^02.{0}|^01.{1}|[0-9]{3})([0-9]+)([0-9]{4})/,"$1-$2-$3"); $rootScope.user.phone = phone; } else { throw {message: $filter("translate")("users.notExistUserSession")}; // "사용자 세션이 존재하지 않습니다."