当前位置: 首页 > Web前端 > vue.js

前端不等待后端执行

时间:2023-03-31 16:16:38 vue.js

后端不返??回数据给前端,但两端都需要继续执行,前端不在加载过程中.$confirm('prompt',{title:'prompt',message:h('div',null,newDatas),showCancelButton:true,confirmButtonText:'Skip',cancelButtonText:'Cancel',type:'warning'}).then(()=>{this.$message('后台处理');uploadPiles(yesPile).then();//请求2uploadProgress().then((res)=>{letdata=res.data.errcode;console.log(data)});}).catch(()=>{this.$message('Cancelled');});