去除多余代码
This commit is contained in:
parent
e50c6e6805
commit
8897e73aa8
@ -129,8 +129,6 @@
|
|||||||
import store from "../store";
|
import store from "../store";
|
||||||
import {computed, ref, onMounted} from "vue";
|
import {computed, ref, onMounted} from "vue";
|
||||||
import {ElMessage} from "element-plus"
|
import {ElMessage} from "element-plus"
|
||||||
import axios from "axios";
|
|
||||||
import qs from "qs";
|
|
||||||
import HentaiSearch from "./HentaiSearch.vue";
|
import HentaiSearch from "./HentaiSearch.vue";
|
||||||
|
|
||||||
//授权码相关
|
//授权码相关
|
||||||
@ -152,7 +150,6 @@ let type = ref("link")
|
|||||||
let param = ref("")
|
let param = ref("")
|
||||||
|
|
||||||
let targetResolution = ref("")
|
let targetResolution = ref("")
|
||||||
let targetDownloadMode = ref("")
|
|
||||||
|
|
||||||
let realAuthCode = computed(() => {
|
let realAuthCode = computed(() => {
|
||||||
return store.state.AuthCode
|
return store.state.AuthCode
|
||||||
@ -203,10 +200,6 @@ function postTask(){
|
|||||||
ElMessage("请选择分辨率再提交")
|
ElMessage("请选择分辨率再提交")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(targetDownloadMode.value === ''){
|
|
||||||
ElMessage("请选择下载模式再提交")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
store.dispatch("postGalleryTask",
|
store.dispatch("postGalleryTask",
|
||||||
{link: chosenGallery.value.link,
|
{link: chosenGallery.value.link,
|
||||||
targetResolution: targetResolution.value})
|
targetResolution: targetResolution.value})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user