Skip to content

Commit ed8cd1a

Browse files
committed
update 2.8.1
1 parent 408dad8 commit ed8cd1a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

VideoOS/VenvyLibrary/src/main/assets/lua/main.lua

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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")

VideoOS/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)