diff --git a/ui/packages/artalk-sidebar/index.html b/ui/packages/artalk-sidebar/index.html index 55db33a83..683120527 100644 --- a/ui/packages/artalk-sidebar/index.html +++ b/ui/packages/artalk-sidebar/index.html @@ -3,6 +3,7 @@ + Artalk Sidebar diff --git a/ui/packages/artalk/src/components/checker/captcha-renders.ts b/ui/packages/artalk/src/components/checker/captcha-renders.ts index 2b0f05786..c56a39e0d 100644 --- a/ui/packages/artalk/src/components/checker/captcha-renders.ts +++ b/ui/packages/artalk/src/components/checker/captcha-renders.ts @@ -27,7 +27,7 @@ export function imgBody(checker: CheckerCtx) { /** iframe 形式的通用验证服务 */ export function iframeBody(checker: CheckerCtx) { const $iframeWrap = Utils.createElement(`
`) - const $iframe = Utils.createElement(``) + const $iframe = Utils.createElement(``) $iframe.style.display = 'none' Ui.showLoading($iframeWrap, { transparentBg: true }) $iframe.src = `${checker.getOpts().getIframeURLBase() || ''}/api/captcha/get?t=${+new Date()}` diff --git a/ui/packages/artalk/src/layer/sidebar-layer.ts b/ui/packages/artalk/src/layer/sidebar-layer.ts index 8731fffc9..5e35b283d 100644 --- a/ui/packages/artalk/src/layer/sidebar-layer.ts +++ b/ui/packages/artalk/src/layer/sidebar-layer.ts @@ -116,7 +116,7 @@ export default class SidebarLayer extends Component { } private createIframe(view?: string) { - const $iframe = Utils.createElement('') + const $iframe = Utils.createElement('') // 准备 Iframe 参数 const baseURL = (import.meta.env.DEV) ? 'http://localhost:23367/'