This commit is contained in:
2020-08-03 23:05:29 +08:00
parent f3ecc018ff
commit 9e8c6f080f
64 changed files with 325 additions and 261 deletions

View File

@@ -1,6 +1,5 @@
--开始loading页面处理资源更新、及相关初始化
---@type json
local json = require("json.json")
local DBUser = require("db.DBUser")
---@type Coolape.CLPanelLua
@@ -204,8 +203,8 @@ end
CLLPSplash.selectServer = function(callback)
local onGetServers = function(content, orgs)
local content = json.decode(content)
local servers = content[CLCfgBase.self.appUniqueID] or {}
local _content = json.decode(content)
local servers = _content[tostring(CLCfgBase.self.appUniqueID)] or {}
local userName = Prefs.getUserName()
DBUser.isWhiteUser(
userName,
@@ -267,6 +266,7 @@ end
--设置进度条
function CLLPSplash.onProgress(...)
do return end
local args = {...}
local all = args[1] -- 总量
local v = args[2] -- 当前值