From d8e15e79c3951cab51e57db25e9a7e1d798d6aef Mon Sep 17 00:00:00 2001 From: 510208 Date: Fri, 14 Jul 2023 10:38:13 +0800 Subject: [PATCH] Update model.js --- src/model.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/model.js b/src/model.js index 23b036a..43d9abe 100644 --- a/src/model.js +++ b/src/model.js @@ -33,7 +33,7 @@ class Model { loadlive2d("live2d", `${this.cdnPath}model/${target}/index.json`); } else { loadlive2d("live2d", `${this.apiPath}get/?id=${modelId}-${modelTexturesId}`); - console.log(`Live2D 模型 ${modelId}-${modelTexturesId} 加载完成`); + console.log(`Live2D 模型 ${modelId}-${modelTexturesId} 載入完成`); } } @@ -44,13 +44,13 @@ class Model { if (!this.modelList) await this.loadModelList(); const target = randomSelection(this.modelList.models[modelId]); loadlive2d("live2d", `${this.cdnPath}model/${target}/index.json`); - showMessage("我的新衣服好看嘛?", 4000, 10); + showMessage("我的新衣服好看ㄇ?", 4000, 10); } else { // 可选 "rand"(随机), "switch"(顺序) fetch(`${this.apiPath}rand_textures/?id=${modelId}-${modelTexturesId}`) .then(response => response.json()) .then(result => { - if (result.textures.id === 1 && (modelTexturesId === 1 || modelTexturesId === 0)) showMessage("我还没有其他衣服呢!", 4000, 10); + if (result.textures.id === 1 && (modelTexturesId === 1 || modelTexturesId === 0)) showMessage("我還沒有其他衣服呢!", 4000, 10); else this.loadModel(modelId, result.textures.id, "我的新衣服好看嘛?"); }); }