修改版本号

This commit is contained in:
dgflash
2025-04-23 11:51:20 +08:00
parent 26a5212418
commit cf0c937f1d
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ import { GameManager } from "./game/GameManager";
import { LayerManager } from "./gui/layer/LayerManager";
/** 框架版本号 */
export var version: string = "2.0.0.20250404";
export var version: string = "2.0.0.20250423";
/** 框架核心模块访问入口 */
export class oops {

View File

@@ -41,11 +41,12 @@ export class LanguageData {
*
* 3、config/game/Language配置表使用oops-plugin-excel-to-json插件生成点击项目根目录下载update-oops-plugin-framework.bat或update-oops-plugin-framework.sh脚本下载插件
*/
public static getLangByID(labId: string): string {
static getLangByID(labId: string): string {
let content: string = null!;
for (const [key, value] of this.language) {
if (key == LanguageDataType.Excel) {
content = value[labId][this.current];
let lang = value[labId];
if (lang) content = lang[this.current];
}
else {
content = value[labId];