vue: inheritPoint(WIP)

This commit is contained in:
2021-09-03 02:42:50 +09:00
parent 12f37f76c7
commit 6e4113de11
12 changed files with 1000 additions and 6 deletions
+2 -3
View File
@@ -12,7 +12,6 @@ import { sha512 } from 'js-sha512';
import { unwrap } from '../util/unwrap';
import { InvalidResponse } from '../defs';
type LoginResponse = {
result: true,
} | {
@@ -125,7 +124,7 @@ async function doLoginUsingOAuth() {
return;
}
const $modal = $('#modalOTP').modal();
const $modal = $('#modalOTP').modal() as unknown as JQuery;
$modal.on('shown.bs.modal', function () {
$('#otp_code').trigger('focus');
});
@@ -222,7 +221,7 @@ $(function ($) {
return;
}
const $modal = $('#modalOTP').modal();
const $modal = $('#modalOTP').modal() as unknown as JQuery;
$modal.on('shown.bs.modal', function () {
$('#otp_code').trigger('focus');
});