ui: change to ts & tsx

This commit is contained in:
undefined committed 2021-10-11 23:33:54 +08:00
1 parent 36cce6d1bd
commit d10fec361c
29 files changed
+165 -221

No files matched your search

@@ -40,9 +40,7 @@ const page = new NamedPage('domain_role', () => {
async function handleClickCreateRole() {
const action = await createRoleDialog.clear().open();
if (action !== 'ok') {
return;
}
if (action !== 'ok') return;
const role = createRoleDialog.$dom.find('[name="role"]').val();
try {
await request.post('', {