cortico-world-fish-sing 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/);版本号遵循语义化。
4
4
 
5
+ ## [0.3.2] - 2026-11-01
6
+
7
+ ### 修复
8
+ - **面板样式首次进入不生效**(训练/安装/模型三个页共用此问题):共享布局样式(fs-bar/fs-btn/fs-meta…)原本只存在于作品库页的样式表里,其它页首次进入时这些类全是未定义的,整页挤在一起;访问过一次作品库后才"顺带"修好。现在四个页面的样式都自带共享底座,进哪个页面都完整。
9
+ - 面板产物重打包为 webui-4d01e72b.js。
10
+
5
11
  ## [0.3.1] - 2026-11-01
6
12
 
7
13
  ### 修复
@@ -335,7 +335,8 @@ function mountSetup(ctx) {
335
335
  if (!document.getElementById(SETUP_STYLE_ID)) {
336
336
  const style = document.createElement('style');
337
337
  style.id = SETUP_STYLE_ID;
338
- style.textContent = SETUP_CSS;
338
+ // 前置共享底座(fs-bar/fs-btn/fs-meta…原本只在作品库样式里,导致别的页首进无样式)
339
+ style.textContent = CSS + SETUP_CSS;
339
340
  document.head.append(style);
340
341
  }
341
342
 
@@ -509,7 +510,7 @@ function mountModels(ctx) {
509
510
  if (!document.getElementById(MODELS_STYLE_ID)) {
510
511
  const style = document.createElement('style');
511
512
  style.id = MODELS_STYLE_ID;
512
- style.textContent = MODELS_CSS;
513
+ style.textContent = CSS + MODELS_CSS;
513
514
  document.head.append(style);
514
515
  }
515
516
 
@@ -710,7 +711,7 @@ function mountTrain(ctx) {
710
711
  if (!document.getElementById(TRAIN_STYLE_ID)) {
711
712
  const style = document.createElement('style');
712
713
  style.id = TRAIN_STYLE_ID;
713
- style.textContent = TRAIN_CSS;
714
+ style.textContent = CSS + TRAIN_CSS;
714
715
  document.head.append(style);
715
716
  }
716
717
 
package/dist/webui.js CHANGED
@@ -335,7 +335,8 @@ function mountSetup(ctx) {
335
335
  if (!document.getElementById(SETUP_STYLE_ID)) {
336
336
  const style = document.createElement('style');
337
337
  style.id = SETUP_STYLE_ID;
338
- style.textContent = SETUP_CSS;
338
+ // 前置共享底座(fs-bar/fs-btn/fs-meta…原本只在作品库样式里,导致别的页首进无样式)
339
+ style.textContent = CSS + SETUP_CSS;
339
340
  document.head.append(style);
340
341
  }
341
342
 
@@ -509,7 +510,7 @@ function mountModels(ctx) {
509
510
  if (!document.getElementById(MODELS_STYLE_ID)) {
510
511
  const style = document.createElement('style');
511
512
  style.id = MODELS_STYLE_ID;
512
- style.textContent = MODELS_CSS;
513
+ style.textContent = CSS + MODELS_CSS;
513
514
  document.head.append(style);
514
515
  }
515
516
 
@@ -710,7 +711,7 @@ function mountTrain(ctx) {
710
711
  if (!document.getElementById(TRAIN_STYLE_ID)) {
711
712
  const style = document.createElement('style');
712
713
  style.id = TRAIN_STYLE_ID;
713
- style.textContent = TRAIN_CSS;
714
+ style.textContent = CSS + TRAIN_CSS;
714
715
  document.head.append(style);
715
716
  }
716
717
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortico-world-fish-sing",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "让她真的开口唱:B 站点歌或本地文件 → 分离 → 换声 → 混音,本机出声或发 QQ 语音条",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -36,7 +36,7 @@
36
36
  "local"
37
37
  ],
38
38
  "describe": "describe.json",
39
- "webUiClient": "dist/webui-e202b726.js"
39
+ "webUiClient": "dist/webui-4d01e72b.js"
40
40
  },
41
41
  "scripts": {
42
42
  "doctor": "node tools/doctor.mjs"