From 8897e73aa83f2de16d8dbf2752858b2789b586af Mon Sep 17 00:00:00 2001 From: chuzhongzai Date: Thu, 28 Dec 2023 10:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DashBoard.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/DashBoard.vue b/src/components/DashBoard.vue index 672350c..86624f1 100644 --- a/src/components/DashBoard.vue +++ b/src/components/DashBoard.vue @@ -129,8 +129,6 @@ import store from "../store"; import {computed, ref, onMounted} from "vue"; import {ElMessage} from "element-plus" -import axios from "axios"; -import qs from "qs"; import HentaiSearch from "./HentaiSearch.vue"; //授权码相关 @@ -152,7 +150,6 @@ let type = ref("link") let param = ref("") let targetResolution = ref("") -let targetDownloadMode = ref("") let realAuthCode = computed(() => { return store.state.AuthCode @@ -203,10 +200,6 @@ function postTask(){ ElMessage("请选择分辨率再提交") return } - if(targetDownloadMode.value === ''){ - ElMessage("请选择下载模式再提交") - return - } store.dispatch("postGalleryTask", {link: chosenGallery.value.link, targetResolution: targetResolution.value})