Commit b8e28df2 authored by JoyJ's avatar JoyJ

fix: not translated tags

parent e9fff024
......@@ -33,7 +33,7 @@
function getTransTag(tag) {
const res = $_tagTrans.filter(trans => trans.jp_tag_name == tag);
// if (res) console.log(res[0]);
return res[0]?.cn_tag_name;
return res[0]?.cn_tag_name || tag;
}
// 图片错误 trigger
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment