提交爬虫显示修改
This commit is contained in:
parent
dbdacb1afe
commit
9bd0352569
|
@ -339,9 +339,16 @@ const startCrawl = () => {
|
|||
})
|
||||
//调用爬虫服务
|
||||
rs2(state.data.disasterId,arrParams,state.startTime,state.endTime).then(res => {
|
||||
//获取arrParams中的type 使用,分割
|
||||
var typeArr=[];
|
||||
arrParams.forEach(item=>{
|
||||
typeArr.push(item.type)
|
||||
})
|
||||
var typeStr=typeArr.join('、')
|
||||
|
||||
// getData();
|
||||
ElMessage({
|
||||
message: 'Success, Start crawling. sentinel',
|
||||
message: 'Successfully launched '+typeStr+' crawler',
|
||||
type: 'success',
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue