mirror of
https://github.com/putyy/res-downloader.git
synced 2026-01-12 14:14:55 +08:00
fix: download action
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user