upload ic in register
This commit is contained in:
@@ -321,7 +321,11 @@
|
||||
/>
|
||||
<label>No. Telefon</label>
|
||||
</div>
|
||||
<div class="checkbox mb-3">
|
||||
<label class="mt-3">Kad Pengenalan Hadapan</label>
|
||||
<input type="file" class="form-control" />
|
||||
<label>Kad Pengenalan Belakang</label>
|
||||
<input type="file" class="form-control" />
|
||||
<div class="checkbox mt-3 mb-3">
|
||||
<label>
|
||||
<input type="checkbox" value="1" id="register_agree" /> Setuju
|
||||
dengan terma & syarat
|
||||
@@ -376,7 +380,7 @@ export default {
|
||||
.then((response) => {
|
||||
if (response.data.success != "error") {
|
||||
localStorage.setItem("token", response.data.token);
|
||||
this.$router.push({name: 'login'});
|
||||
this.$router.push({ name: "login" });
|
||||
console.log(response);
|
||||
} else {
|
||||
console.log(response.data);
|
||||
|
||||
Reference in New Issue
Block a user