修复了FileList调用undefined对象方法的问题
parent
7be44d40b1
commit
2706ba50dc
|
@ -151,8 +151,9 @@ Item {
|
|||
size: isDir ? 0 : model.size
|
||||
stars: isDir ? 0 : model.stars
|
||||
// split string to array
|
||||
tags: isDir ? [] : model.tags.length === 0 ? [] : model.tags.split(
|
||||
",")
|
||||
tags: isDir ? [] : model.tags === null
|
||||
|| model.tags === undefined
|
||||
|| model.tags === "" ? [] : model.tags.split(",")
|
||||
onTagClicked: {
|
||||
emit: search(tag)
|
||||
console.log(tag)
|
||||
|
|
Loading…
Reference in New Issue