代码优化

This commit is contained in:
dgflash
2024-11-16 10:44:14 +08:00
parent 2b03361539
commit 4a20dbf2a5

View File

@@ -105,7 +105,7 @@ export class EffectSingleCase {
* @param parent 父节点
* @param params 显示参数
*/
async loadAndShow(path: string, parent?: Node, params?: IEffectParams): Promise<Node> {
loadAndShow(path: string, parent?: Node, params?: IEffectParams): Promise<Node> {
return new Promise(async (resolve, reject) => {
var np = this.effects.get(path);
if (np == undefined) {