From 1d0a02f59c3362854f7ba38e2f1606891cff24c0 Mon Sep 17 00:00:00 2001 From: xiyuesaves Date: Wed, 12 Jun 2024 11:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Erkey=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/html/view.html | 19 +++++++++++++------ src/pages/configView.js | 8 ++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/html/view.html b/src/html/view.html index fd4e8fde..f4488bce 100644 --- a/src/html/view.html +++ b/src/html/view.html @@ -1018,22 +1018,29 @@

预载hookVue模块

  • 更新自动重启

    - 插件自更新后,自动重启 + 插件更新后,自动重启
  • - + + diff --git a/src/pages/configView.js b/src/pages/configView.js index bce20a62..c6baa9dd 100644 --- a/src/pages/configView.js +++ b/src/pages/configView.js @@ -479,6 +479,14 @@ async function onConfigView(view) { tailList.createNewTail(); }); + // rkey接口请求地址 + const rkeyApiUrl = view.querySelector(".rkey-api-url"); + rkeyApiUrl.value = options.rkeyAPI; + rkeyApiUrl.addEventListener("input", (e) => { + options.rkeyAPI = e.target.value; + debounceSetOptions(); + }); + // 打开当前版本的更新日志 view.querySelector(".tag-version").addEventListener("click", () => { fetch(`local:///${LiteLoader.plugins.lite_tools.path.plugin}/changeLog.md`)