提交API参数错误
This commit is contained in:
parent
9ddd36d935
commit
550fbb6659
|
@ -293,7 +293,7 @@ const start = (text) => {
|
|||
let page = (text == 'baidu' ? state.baidu.page : text == 'bing' ?state.bing.page:state.twitter.page);
|
||||
let id = (text == 'baidu' ? state.baidu.id : text == 'bing' ?state.bing.id:state.twitter.id);
|
||||
submit(
|
||||
{
|
||||
[{
|
||||
type: text == 'baidu' ? 2 :text == 'bing'?1:3 ,
|
||||
manageId: userInfo.userInfos.id,
|
||||
status: 0,
|
||||
|
@ -302,7 +302,7 @@ const start = (text) => {
|
|||
id: (id ? id : null),
|
||||
startDate:(text=='twitter'?state.twitter.date[0]:null),
|
||||
endDate:(text=='twitter'?state.twitter.date[1]:null),
|
||||
}
|
||||
}]
|
||||
).then(ret => {
|
||||
if (ret == 1042) {
|
||||
ElMessage.error("error")
|
||||
|
|
Loading…
Reference in New Issue