fix: download action

This commit is contained in:
putyy
2025-07-23 16:11:44 +08:00
committed by putyy
parent 3c40ada451
commit cfa9d4929f

View File

@@ -88,7 +88,7 @@ const props = defineProps<{
const emits = defineEmits(["action"]) const emits = defineEmits(["action"])
const action = (type: string) => { 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")) window?.$message?.error(t("index.download_no_tip"))
return return
} }