提交爬虫显示修改

This commit is contained in:
yyhouc 2023-05-23 16:16:41 +08:00
parent dbdacb1afe
commit 9bd0352569
1 changed files with 8 additions and 1 deletions

View File

@ -339,9 +339,16 @@ const startCrawl = () => {
}) })
// //
rs2(state.data.disasterId,arrParams,state.startTime,state.endTime).then(res => { rs2(state.data.disasterId,arrParams,state.startTime,state.endTime).then(res => {
//arrParamstype 使
var typeArr=[];
arrParams.forEach(item=>{
typeArr.push(item.type)
})
var typeStr=typeArr.join('、')
// getData(); // getData();
ElMessage({ ElMessage({
message: 'Success, Start crawling. sentinel', message: 'Successfully launched '+typeStr+' crawler',
type: 'success', type: 'success',
}) })
}) })