
--- client/resources/js/validateParams.js
+++ client/resources/js/validateParams.js
... | ... | @@ -114,13 +114,14 @@ |
114 | 114 |
|
115 | 115 |
// 휴대폰번호 |
116 | 116 |
validateMblNo(key) { |
117 |
- const raw = key.replace(/-/g, ''); // 하이픈 제거 |
|
118 |
- |
|
119 |
- if (this.isEmpty(raw)) { |
|
117 |
+ |
|
118 |
+ if (this.isEmpty(key)) { |
|
120 | 119 |
alert("휴대폰번호를 입력하세요."); |
121 | 120 |
this.$refs.mblTelno.focus(); |
122 | 121 |
return false; |
123 | 122 |
} // 입력 여부 |
123 |
+ |
|
124 |
+ const raw = key.replace(/-/g, ''); // 하이픈 제거 |
|
124 | 125 |
if (!this.minLength(raw, 10)) { |
125 | 126 |
alert("휴대폰번호는 10자 이상으로 입력하세요."); |
126 | 127 |
this.$refs.mblTelno.focus(); |
--- client/views/component/userInfo/UserInfoInsert.vue
+++ client/views/component/userInfo/UserInfoInsert.vue
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 |
<div class="form-content"> |
11 | 11 |
<div class="layout"> |
12 | 12 |
<label class="form-title"><span>*</span>아이디</label> |
13 |
- <input type="text" class="form-control sm" v-model="mbrVO.lgnId" ref="mbrId" minlength="5" maxlength="50" |
|
13 |
+ <input type="text" class="form-control sm" v-model="mbrVO.lgnId" ref="lgnId" minlength="5" maxlength="50" |
|
14 | 14 |
placeholder="아이디를 입력하세요." :disabled="mbrVO.mbrId != null" /> |
15 | 15 |
</div> |
16 | 16 |
<div class="layout"> |
--- client/views/pages/login/SignUp.vue
+++ client/views/pages/login/SignUp.vue
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 |
<div class="form-content"> |
17 | 17 |
<div class="layout"> |
18 | 18 |
<label class="form-title"><span>*</span>아이디</label> |
19 |
- <input type="text" class="form-control sm" v-model="mbrVO.lgnId" ref="mbrId" |
|
19 |
+ <input type="text" class="form-control sm" v-model="mbrVO.lgnId" ref="lgnId" |
|
20 | 20 |
minlength="5" maxlength="50" placeholder="아이디를 입력하세요." |
21 | 21 |
:disabled="mbrVO.mbrId != null" /> |
22 | 22 |
</div> |
... | ... | @@ -150,7 +150,7 @@ |
150 | 150 |
'btn sm main': true, |
151 | 151 |
// 'blue-btn': pageRole == 'adm', |
152 | 152 |
// 'green-btn': pageRole == 'portal', |
153 |
- }" @click="fnInsert">등록 |
|
153 |
+ }" @click="fnInsert">완료 |
|
154 | 154 |
</button> |
155 | 155 |
<button class="btn sm tertiary" @click="fnCancel">취소</button> |
156 | 156 |
</div> |
... | ... | @@ -196,7 +196,7 @@ |
196 | 196 |
}; |
197 | 197 |
}, |
198 | 198 |
created() { |
199 |
- this.fnMbrViewDetail(); |
|
199 |
+ // this.fnMbrViewDetail(); |
|
200 | 200 |
}, |
201 | 201 |
methods: { |
202 | 202 |
// axios: 사용자 정보 상세 조회 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?