code
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
'blurry': this.dataForm.blurry
|
||||
})
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.dataList = data.content
|
||||
this.totalPage = data.totalElements
|
||||
} else {
|
||||
@@ -212,7 +212,7 @@
|
||||
method: 'DELETE',
|
||||
data: ids
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.$message({
|
||||
message: data.msg,
|
||||
type: 'success',
|
||||
@@ -247,7 +247,7 @@
|
||||
'code': this.query.code
|
||||
})
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.detailList = data.content
|
||||
this.detailTotalPage = data.totalElements
|
||||
} else {
|
||||
@@ -287,7 +287,7 @@
|
||||
method: 'DELETE',
|
||||
data: this.$http.adornData()
|
||||
}).then(({data}) => {
|
||||
if (data && data.code === 0) {
|
||||
if (data && data.code === 200) {
|
||||
this.$message({
|
||||
message: data.msg,
|
||||
type: 'success',
|
||||
|
||||
Reference in New Issue
Block a user