update register form
This commit is contained in:
parent
fe2d757b50
commit
df61e7bd9c
8 changed files with 1337 additions and 434 deletions
|
|
@ -33,6 +33,7 @@ const App =
|
|||
}
|
||||
|
||||
window.mainApi.on("set-account", (value, reason) => {
|
||||
console.log(value, reason);
|
||||
if (reason) alert(reason);
|
||||
account.value = value;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ const SmartForm =
|
|||
logsEl.style.color = "green";
|
||||
logsEl.innerText = props.modifier;
|
||||
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
|
||||
Vue.onMounted(() => {
|
||||
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@ const Login =
|
|||
placeholder: 'Password'
|
||||
},
|
||||
{
|
||||
name: 'repassword',
|
||||
name: 'name',
|
||||
value: null,
|
||||
placeholder: 'Re-Password'
|
||||
placeholder: 'Name'
|
||||
}]"
|
||||
:channel="'auth'"
|
||||
:modifier="'Login or re-enter password to register.'"
|
||||
:modifier="'Login or enter name to register.'"
|
||||
/>
|
||||
|
||||
</div>`
|
||||
|
|
|
|||
|
|
@ -52,10 +52,6 @@ const Messenger = {
|
|||
window.mainApi.send("messenger");
|
||||
});
|
||||
|
||||
Vue.onUnmounted(() => {
|
||||
messages.value = [];
|
||||
});
|
||||
|
||||
const search = (id) => messages.value.find(m => m.id == id);
|
||||
|
||||
return { person, messages, onDrop };
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue