mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Default config view to toggles
This commit is contained in:
12
panel.html
12
panel.html
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="bme-config-nav bme-config-nav-desktop">
|
||||
<button
|
||||
class="bme-config-nav-btn active"
|
||||
class="bme-config-nav-btn"
|
||||
data-config-section="api"
|
||||
type="button"
|
||||
>
|
||||
@@ -97,7 +97,7 @@
|
||||
<span>API 配置</span>
|
||||
</button>
|
||||
<button
|
||||
class="bme-config-nav-btn"
|
||||
class="bme-config-nav-btn active"
|
||||
data-config-section="toggles"
|
||||
type="button"
|
||||
>
|
||||
@@ -495,7 +495,7 @@
|
||||
|
||||
<div class="bme-config-nav bme-config-nav-mobile">
|
||||
<button
|
||||
class="bme-config-nav-btn active"
|
||||
class="bme-config-nav-btn"
|
||||
data-config-section="api"
|
||||
type="button"
|
||||
>
|
||||
@@ -503,7 +503,7 @@
|
||||
<span>API 配置</span>
|
||||
</button>
|
||||
<button
|
||||
class="bme-config-nav-btn"
|
||||
class="bme-config-nav-btn active"
|
||||
data-config-section="toggles"
|
||||
type="button"
|
||||
>
|
||||
@@ -538,7 +538,7 @@
|
||||
|
||||
<div class="bme-config-sections">
|
||||
<section
|
||||
class="bme-config-section active"
|
||||
class="bme-config-section"
|
||||
data-config-section="api"
|
||||
>
|
||||
<div class="bme-config-section-head">
|
||||
@@ -857,7 +857,7 @@
|
||||
</details>
|
||||
</section>
|
||||
|
||||
<section class="bme-config-section" data-config-section="toggles">
|
||||
<section class="bme-config-section active" data-config-section="toggles">
|
||||
<div class="bme-config-section-head">
|
||||
<div class="bme-config-section-kicker">功能开关</div>
|
||||
<h3 class="bme-config-section-title">主链路与增强能力</h3>
|
||||
|
||||
4
panel.js
4
panel.js
@@ -196,7 +196,7 @@ let overlayEl = null;
|
||||
let graphRenderer = null;
|
||||
let mobileGraphRenderer = null;
|
||||
let currentTabId = "dashboard";
|
||||
let currentConfigSectionId = "api";
|
||||
let currentConfigSectionId = "toggles";
|
||||
let currentTaskProfileTaskType = "extract";
|
||||
let currentTaskProfileTabId = "generation";
|
||||
let currentTaskProfileBlockId = "";
|
||||
@@ -839,7 +839,7 @@ function _applyWorkspaceMode() {
|
||||
}
|
||||
|
||||
function _switchConfigSection(sectionId) {
|
||||
currentConfigSectionId = sectionId || "api";
|
||||
currentConfigSectionId = sectionId || "toggles";
|
||||
_syncConfigSectionState();
|
||||
if (currentConfigSectionId === "prompts") {
|
||||
_refreshTaskProfileWorkspace();
|
||||
|
||||
Reference in New Issue
Block a user