提交 e7d4f66f authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 593bf03d
...@@ -6,7 +6,7 @@ interface Props { ...@@ -6,7 +6,7 @@ interface Props {
const props = defineProps<Props>() const props = defineProps<Props>()
function show(fileType: string) { function show(fileType: string) {
return props.info?.type === fileType return props.info?.type?.includes(fileType)
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论