This commit is contained in:
theluyuan 2023-06-14 22:07:50 +08:00
parent 3963fd8fad
commit 2a14ef0c2b
4 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
<script type="module" crossorigin src="./assets/index-ed416134.js"></script>
<script type="module" crossorigin src="./assets/index-ec9a45aa.js"></script>
<link rel="stylesheet" href="./assets/index-6ef103ac.css">
</head>
<body>

View File

@ -56,7 +56,7 @@ function getlist() {
// tableData.value = res
// load.close()
// })
axios.get("http://127.0.0.1:3050/getQqList", {
axios.get("/getQqList", {
params: { url: form.value.name }
}).then((r) => {
tableData.value = r.data
@ -94,7 +94,7 @@ async function dow() {
localStorage.setItem("save",form.value.save)
for (let i of list) {
await axios.get("http://127.0.0.1:3050/startDown", {
await axios.get("/startDown", {
params: {
...i,
save: form.value.save + "/" + i.title.split(" ")[0]
@ -108,7 +108,7 @@ async function dow() {
type: 'success',
})
}
const source = new EventSource(`http://127.0.0.1:3050/msg`);
const source = new EventSource(`/msg`);
source.onmessage = event => {
//
if (msg.value.length > 200) {