wxiaoguang
2023-06-15 09:12:50 +08:00
committed by GitHub
parent 39a15623f6
commit 73ae71824d
6 changed files with 48 additions and 10 deletions

View File

@ -171,6 +171,12 @@ export function initAdminCommon() {
}
}
if ($('.admin.authentication').length > 0) {
$('#auth_name').on('input', function () {
$('#oauth2-callback-url').text(`${window.location.origin}/user/oauth2/${encodeURIComponent($(this).val())}/callback`);
}).trigger('input');
}
// Notice
if ($('.admin.notice')) {
const $detailModal = $('#detail-modal');