upload ic in register

This commit is contained in:
Amir
2022-08-23 07:59:30 +08:00
parent 989527a300
commit 237cbcaad7
+6 -2
View File
@@ -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);