File tree Expand file tree Collapse file tree
src/Core/util/coreInitialFunction Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "gameName" : " 新的 WebGAL 游戏" ,
33 "gameKey" : " 7fe160a6" ,
4+ "gameLogo" : " WebGalEnter.webp" ,
45 "titleImage" : " WebGAL_New_Enter_Image.webp" ,
56 "titleBgm" : " s_Title.mp3" ,
6- "gameLogo" : [" WebGalEnter.webp" ],
77 "enableExtra" : true
88}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import axios from 'axios';
1111interface IWebgalConfig {
1212 gameName ?: string ; // 游戏名称
1313 gameKey ?: string ; // 游戏Key
14- gameLogo ?: string [ ] ; // 游戏Logo
14+ gameLogo ?: string ; // 游戏Logo
1515 titleImage ?: string ; // 标题图片
1616 titleBgm ?: string ; // 标题背景音乐
1717 description ?: string ; // 游戏描述
@@ -48,13 +48,6 @@ export const infoFetcher = async (url: string) => {
4848 value : value ,
4949 } ) ,
5050 ) ;
51- } else if ( Array . isArray ( value ) ) {
52- dispatch (
53- setGlobalVar ( {
54- key : key ,
55- value : value . join ( '|' ) ,
56- } ) ,
57- ) ;
5851 } else {
5952 dispatch (
6053 setGlobalVar ( {
You can’t perform that action at this time.
0 commit comments