游戏初始化流程模板

This commit is contained in:
董刚
2022-01-24 15:17:56 +08:00
parent e2e413fd3e
commit e7f40da329
71 changed files with 989 additions and 925 deletions

View File

@@ -2,7 +2,7 @@
* @Author: dgflash
* @Date: 2021-08-11 16:41:12
* @LastEditors: dgflash
* @LastEditTime: 2021-09-08 09:58:20
* @LastEditTime: 2022-01-24 15:00:52
*/
/**
* 数组工具
@@ -74,15 +74,6 @@ export default class ArrayUtil {
return array;
}
/**
* 数组去重
* @param array 目标数组
*/
public static removeRepeated(array: any[]): any[] {
let newArray = [...new Set(array)];
return newArray;
}
/** 删除数组中指定项 */
public static removeItem(array: any[], item: any) {
var temp = array.concat();