接口code
This commit is contained in:
@@ -142,7 +142,7 @@ export default {
|
||||
'isUsed': this.dataForm.isUsed
|
||||
})
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 200) {
|
||||
if (data && data.code === 0) {
|
||||
this.dataList = data.content
|
||||
this.totalPage = data.totalElements
|
||||
} else {
|
||||
@@ -203,7 +203,7 @@ export default {
|
||||
method: 'DELETE',
|
||||
data: ids
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 200) {
|
||||
if (data && data.code === 0) {
|
||||
this.$message({
|
||||
message: '操作成功',
|
||||
type: 'success',
|
||||
|
||||
Reference in New Issue
Block a user