From a11dc4e377730f1ce08bc7210366c21e2833bf05 Mon Sep 17 00:00:00 2001 From: jhjang <jhjang@maprex.co.kr> Date: 월, 28 2월 2022 18:38:29 +0900 Subject: [PATCH] 1.0.5버전 --- src/main/webapp/scripts/app/user/userModify.controller.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/app/user/userModify.controller.js b/src/main/webapp/scripts/app/user/userModify.controller.js index b780eb4..1387840 100644 --- a/src/main/webapp/scripts/app/user/userModify.controller.js +++ b/src/main/webapp/scripts/app/user/userModify.controller.js @@ -89,7 +89,7 @@ if(result.data.data.reservationNotifyTime === "realTime"){ $scope.vm.form.realtimeNotify = true; }else{ - $scope.vm.form.reservationNotifyTime = result.data.data.reservationNotifyTime; + $scope.vm.form.reservationNotifyTime = ""; } } else { @@ -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")}; // "�궗�슜�옄 �꽭�뀡�씠 議댁옱�븯吏� �븡�뒿�땲�떎." -- Gitblit v1.8.0