fix: download action

This commit is contained in:
putyy
2025-07-23 16:11:44 +08:00
parent 567eb2903d
commit 84c882d573

View File

@@ -88,7 +88,7 @@ const props = defineProps<{
const emits = defineEmits(["action"])
const action = (type: string) => {
if (props.row.Classify === 'live' || props.row.Classify === 'm3u8') {
if (type === 'down' && (props.row.Classify === 'live' || props.row.Classify === 'm3u8')) {
window?.$message?.error(t("index.download_no_tip"))
return
}