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,9 +168,11 @@ export default [
const ids = body.ids const ids = body.ids
if (!ids) { if (!ids) {
return { return {
code: '500', data: {
code: 500,
message: '请选择需要删除的数据' message: '请选择需要删除的数据'
} }
}
} else { } else {
return { return {
data: { data: {
@ -203,9 +205,11 @@ export default [
const ids = body.ids const ids = body.ids
if (!ids) { if (!ids) {
return { return {
code: '500', data: {
code: 500,
message: '请选择需要删除的数据' message: '请选择需要删除的数据'
} }
}
} else { } else {
return { return {
data: { data: {

View File

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

View File

@ -76,11 +76,13 @@ export default [
} }
if (!hasUser) { if (!hasUser) {
return { return {
data: {
code: 500, code: 500,
message: '账号或密码错误' message: '账号或密码错误'
} }
} }
} }
}
}, },
// 退出接口 // 退出接口
{ {