This commit is contained in:
kailong321200875 2023-08-17 16:45:27 +08:00
parent cd0e05a6b9
commit 7582e4d12f
3 changed files with 16 additions and 8 deletions

View File

@ -168,8 +168,10 @@ export default [
const ids = body.ids const ids = body.ids
if (!ids) { if (!ids) {
return { return {
code: '500', data: {
message: '请选择需要删除的数据' code: 500,
message: '请选择需要删除的数据'
}
} }
} else { } else {
return { return {
@ -203,8 +205,10 @@ export default [
const ids = body.ids const ids = body.ids
if (!ids) { if (!ids) {
return { return {
code: '500', data: {
message: '请选择需要删除的数据' code: 500,
message: '请选择需要删除的数据'
}
} }
} else { } else {
return { return {

View File

@ -246,8 +246,10 @@ export default [
const ids = body.ids const ids = body.ids
if (!ids) { if (!ids) {
return { return {
code: '500', data: {
message: '请选择需要删除的数据' code: 500,
message: '请选择需要删除的数据'
}
} }
} else { } else {
let i = List.length let i = List.length

View File

@ -76,8 +76,10 @@ export default [
} }
if (!hasUser) { if (!hasUser) {
return { return {
code: 500, data: {
message: '账号或密码错误' code: 500,
message: '账号或密码错误'
}
} }
} }
} }