File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
VenvyLibrary/src/main/assets/lua Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -388,15 +388,20 @@ local function getTaglist()
388388 if (dataTable == nil ) then
389389 return
390390 end
391-
391+
392392 -- 下载投放的lua文件
393393 local luaList = {}
394+ -- 按id去重
394395 for i ,v in ipairs (dataTable ) do
395396 if (v .miniAppInfo ~= nil ) then
396- Native : preloadMiniAppLua ( v .miniAppInfo )
397+ luaList [ v .miniAppInfo . miniAppId ] = v . miniAppInfo
397398 end
398399 end
399400
401+ for k ,v in pairs (luaList ) do
402+ Native :preloadMiniAppLua (v )
403+ end
404+
400405 -- osTypeVideoOS = 1, osTypeLiveOS = 2, 点播按时间点加载,直播直接加载
401406 if Native :osType () < osTypeLiveOS then
402407 print (" osTypeVideoOS" )
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ org.gradle.jvmargs=-Xmx1536m
1515# This option should only be used with decoupled projects. More details, visit
1616# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717# org.gradle.parallel=true
18- VERSION_NAME = 2.7.0
18+ VERSION_NAME = 2.8.1
You can’t perform that action at this time.
0 commit comments