♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
d08a5b45c0
commit
64bd8a5b48
6 files changed
+6
-6
No files matched your search
@@ -32,7 +32,7 @@ package.loaded["source.toc"] = { index = function() return 1 end }
|
||||
local source = require("moonsource_shuqi.source").new()
|
||||
local toc = { { uid = "11", title = "第一章" }, { uid = "12", title = "第二章" } }
|
||||
source.loadTocAsync = function(_self, _identity, cb) return request(cb) end
|
||||
local identity = { source_id = "ext.shuqi", stable_id = "9" }
|
||||
local identity = { source_id = "shuqi", stable_id = "9" }
|
||||
local calls = 0
|
||||
local handle = source:getProgressAsync(identity, function() calls = calls + 1 end)
|
||||
handle:cancel()
|
||||
|
||||
Reference in new issue
Block a user