修复搜索=
This commit is contained in:
parent
4d7bbf9ca4
commit
08dd8b8ae0
@ -75,7 +75,7 @@ export default {
|
||||
if(this.typeIndex == 0 || this.typeIndex == 3){
|
||||
apiFindStaff(this.query).then(data => {
|
||||
console.log(data)
|
||||
if(data.code != 0){
|
||||
if(data.code != 200){
|
||||
this.$message.error("异常" + data.msg);
|
||||
return
|
||||
}
|
||||
@ -90,7 +90,7 @@ export default {
|
||||
}else {
|
||||
apiFindDepat(this.query).then(data => {
|
||||
console.log(data)
|
||||
if(data.code != 0){
|
||||
if(data.code != 200){
|
||||
this.$message.error("异常" + data.msg);
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user