Module:Songtable:修订间差异

添加49字节 、​ 2022年10月25日 (星期二)
修复Tempestissimo byd标记bug;修复ID设置为空报错的bug
(修复曲包分类错误:现在packlist未更新时不会进行分类,并进行提示)
(修复Tempestissimo byd标记bug;修复ID设置为空报错的bug)
第44行: 第44行:
    diff:wikitext('[Beyond]')
    diff:wikitext('[Beyond]')
    mark:wikitext('仅移动版')
    mark:wikitext('仅移动版')
    if byd and inNs
    if byd and inNs and name ~= "Tempestissimo"
      then
      then
      return tostring(tostring(diff)..tostring(mark))
      return tostring(tostring(diff)..tostring(mark))
第217行: 第217行:
    -- 获取数据查找函数
    -- 获取数据查找函数
    local data, dataNs
    local data, dataNs
    if args["id"]
    if args["id"] and args["id"] ~= ""
    then
    then
      data, dataNs = getData.singleSongInformation(args['id'], "id", "mobile"), getData.singleSongInformation(args['id'], "id", "ns")
      data, dataNs = getData.singleSongInformation(args['id'], "id", "mobile"), getData.singleSongInformation(args['id'], "id", "ns")