fix url
This commit is contained in:
		
							parent
							
								
									3963fd8fad
								
							
						
					
					
						commit
						2a14ef0c2b
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								view/dist/index.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								view/dist/index.html
									
									
									
									
										vendored
									
									
								
							@ -5,7 +5,7 @@
 | 
				
			|||||||
    <link rel="icon" type="image/svg+xml" href="./vite.svg" />
 | 
					    <link rel="icon" type="image/svg+xml" href="./vite.svg" />
 | 
				
			||||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
				
			||||||
    <title>Vite + Vue</title>
 | 
					    <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">
 | 
					    <link rel="stylesheet" href="./assets/index-6ef103ac.css">
 | 
				
			||||||
  </head>
 | 
					  </head>
 | 
				
			||||||
  <body>
 | 
					  <body>
 | 
				
			||||||
 | 
				
			|||||||
@ -56,7 +56,7 @@ function getlist() {
 | 
				
			|||||||
    //     tableData.value = res
 | 
					    //     tableData.value = res
 | 
				
			||||||
    //     load.close()
 | 
					    //     load.close()
 | 
				
			||||||
    // })
 | 
					    // })
 | 
				
			||||||
    axios.get("http://127.0.0.1:3050/getQqList", {
 | 
					    axios.get("/getQqList", {
 | 
				
			||||||
        params: { url: form.value.name }
 | 
					        params: { url: form.value.name }
 | 
				
			||||||
    }).then((r) => {
 | 
					    }).then((r) => {
 | 
				
			||||||
        tableData.value = r.data
 | 
					        tableData.value = r.data
 | 
				
			||||||
@ -94,7 +94,7 @@ async function dow() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    localStorage.setItem("save",form.value.save)
 | 
					    localStorage.setItem("save",form.value.save)
 | 
				
			||||||
    for (let i of list) {
 | 
					    for (let i of list) {
 | 
				
			||||||
        await axios.get("http://127.0.0.1:3050/startDown", {
 | 
					        await axios.get("/startDown", {
 | 
				
			||||||
            params: {
 | 
					            params: {
 | 
				
			||||||
                ...i,
 | 
					                ...i,
 | 
				
			||||||
                save: form.value.save + "/" + i.title.split(" ")[0]
 | 
					                save: form.value.save + "/" + i.title.split(" ")[0]
 | 
				
			||||||
@ -108,7 +108,7 @@ async function dow() {
 | 
				
			|||||||
        type: 'success',
 | 
					        type: 'success',
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
const source = new EventSource(`http://127.0.0.1:3050/msg`);
 | 
					const source = new EventSource(`/msg`);
 | 
				
			||||||
source.onmessage = event => {
 | 
					source.onmessage = event => {
 | 
				
			||||||
    // 挂到载体上面
 | 
					    // 挂到载体上面
 | 
				
			||||||
    if (msg.value.length > 200) {
 | 
					    if (msg.value.length > 200) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user