From cb048b83ac4ed80aa4ee29fcc9d24f512bfaf132 Mon Sep 17 00:00:00 2001 From: wenguoqing Date: Wed, 22 May 2019 21:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9A=AE=E8=82=A4=E7=B1=BB?= =?UTF-8?q?=E6=89=BE=E4=B8=8D=E5=88=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 当分离多个.res.json文件,加载第二个res.json时,皮肤类找不到的bug(比如登录模块一个res.json,游戏一个res.json,登录完成后在加载第二个res.json) --- src/extension/eui/exml/EXML.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/extension/eui/exml/EXML.ts b/src/extension/eui/exml/EXML.ts index a32f8265c4..ac38547c2f 100644 --- a/src/extension/eui/exml/EXML.ts +++ b/src/extension/eui/exml/EXML.ts @@ -236,6 +236,9 @@ namespace EXML { if (text && text["prototype"]) { clazz = text; } + else if (text && text["paths"]){ + clazz = text["paths"][url]; + } if (url) { if (clazz) { parsedClasses[url] = clazz;