修复打包的问题
This commit is contained in:
		| @@ -149,9 +149,9 @@ export default { | |||||||
|         this.ws = new WebSocket(`ws://192.168.1.87:12525/ws`) |         this.ws = new WebSocket(`ws://192.168.1.87:12525/ws`) | ||||||
|         this.ws.onopen = () => resolve() |         this.ws.onopen = () => resolve() | ||||||
|         this.ws.onmessage = res => { |         this.ws.onmessage = res => { | ||||||
|           if (this.$checkJson(res?.data)) { |           if (this.$checkJson(res)) { | ||||||
|             const data = JSON.parse(res.data), |             const data = JSON.parse(res), | ||||||
|                 row = this.tableData.find(e => e.id == data?.row.id) |                 row = this.tableData.find(e => e.id == data?.row?.id) | ||||||
|             if (data.code == '0') { |             if (data.code == '0') { | ||||||
|               row.count = data.progress |               row.count = data.progress | ||||||
|               if (row.count == 100) { |               if (row.count == 100) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user