fix 年份开头有空格问题
This commit is contained in:
parent
8b7af9535c
commit
4d2f109e2b
@ -132,7 +132,7 @@ async function getInfo(id, i) {
|
|||||||
img.value = i
|
img.value = i
|
||||||
let res = await getVideoInfo(id)
|
let res = await getVideoInfo(id)
|
||||||
info.value = res.data.format.replace('img1.doubanio','img9.doubanio')
|
info.value = res.data.format.replace('img1.doubanio','img9.doubanio')
|
||||||
year.value = res.data.year
|
year.value = res.data.year.trim()
|
||||||
imdb = res.data.imdb_link || ""
|
imdb = res.data.imdb_link || ""
|
||||||
console.info(res.data.trans_title.length)
|
console.info(res.data.trans_title.length)
|
||||||
if (res.data.trans_title.length === 0) {
|
if (res.data.trans_title.length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user