Skip to content
Snippets Groups Projects
Commit 0922136f authored by Yulong Wang's avatar Yulong Wang
Browse files

Merge branch 'wyl' into 'main'

update regist page

See merge request !19
parents eca204ee 5e45eb93
No related branches found
No related tags found
1 merge request!19update regist page
......@@ -80,7 +80,7 @@
<span class="icon"><i class='bx bxs-category'></i></span>
<select required id="type">
<option value="" disabled selected>Select Type</option>
<option style="color: black" value="commonAdmin">commonAdmin</option>
<option style="color: black" value="hospital">hospital</option>
<option style="color: black" value="patient">patient</option>
</select>
</div>
......@@ -99,8 +99,8 @@
});
function regist() {
if (type === "commonAdmin") {
role = "ADMIN";
if (type === "hospital") {
role = "HOSPITAL";
} else if (type === "patient") {
role = "PATIENT";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment