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" />
 | 
			
		||||
    <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>
 | 
			
		||||
 | 
			
		||||
@ -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) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user