bug
This commit is contained in:
@@ -677,7 +677,7 @@ export default {
|
|||||||
girdId: this.user.girdId,
|
girdId: this.user.girdId,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast(this.$route.query.id ? '保存成功' : '提交成功')
|
this.$u.toast(this.form.id ? '保存成功' : '提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
@@ -687,7 +687,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
uni.navigateTo({url: './serviceResult'})
|
uni.navigateTo({url: './serviceResult'})
|
||||||
}
|
}
|
||||||
})
|
}, 600)
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
@@ -738,7 +738,7 @@ export default {
|
|||||||
},
|
},
|
||||||
isGirdUser() {
|
isGirdUser() {
|
||||||
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||||
if (res.code == 0) {
|
if (res?.data) {
|
||||||
this.girdInfo = res.data
|
this.girdInfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -627,9 +627,11 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('保存成功')
|
this.$u.toast('保存成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
uni.navigateBack({
|
setTimeout(() => {
|
||||||
delta: 2
|
uni.navigateBack({
|
||||||
})
|
delta: 2
|
||||||
|
})
|
||||||
|
},600)
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user