update plot
This commit is contained in:
		| @@ -44,9 +44,9 @@ service.interceptors.response.use( | ||||
|    */ | ||||
|   response => { | ||||
|     const res = response.data | ||||
|  | ||||
|     var x = false | ||||
|     // if the custom code is not 20000, it is judged as an error. | ||||
|     if (res.code !== 20000) { | ||||
|     if (x) { | ||||
|       Message({ | ||||
|         message: res.message || 'Error', | ||||
|         type: 'error', | ||||
|   | ||||
| @@ -532,12 +532,14 @@ export default { | ||||
|         this.$router.push({ name: "analyze" }) | ||||
|         this.listLoading = true | ||||
|         sendAnalyzeRequest().then(response => { | ||||
|         console.log("success!") | ||||
|         this.list = response.data.items | ||||
|         this.listLoading = false | ||||
|         // console.log("success!") | ||||
|         // this.list = response.data.items | ||||
|         // this.listLoading = false | ||||
|         var token = response['token'] | ||||
|  | ||||
|         // if the response from the server indicating that it's running the analysis, then redirect to a loading view | ||||
|         if (this.list.indexOf('anylyzing') >= 0) { | ||||
|           // this.$router.push('@/views/Analyzing/analyzing') | ||||
|         if (token == 'success') { | ||||
|           this.$router.push({ name: "plot" }) | ||||
|  | ||||
|           // sendAnalyzeRequest().then(response => { | ||||
|           //   this.list = response.data.items | ||||
|   | ||||
							
								
								
									
										9
									
								
								src/views/plot/plot.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/views/plot/plot.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <template> | ||||
|     <iframe src="http://localhost:808" width=1300 height=600></iframe> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| export default { | ||||
|   name: 'plot', | ||||
| } | ||||
| </script> | ||||
		Reference in New Issue
	
	Block a user