提交API参数错误

This commit is contained in:
yyhouc 2023-05-22 09:46:24 +08:00
parent 9ddd36d935
commit 550fbb6659
1 changed files with 2 additions and 2 deletions

View File

@ -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")