提交成功
This commit is contained in:
@@ -233,7 +233,9 @@ export default {
|
||||
this.$http.post("/app/pushmessage/addOrUpdate", params).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$u.toast('发送成功')
|
||||
this.back()
|
||||
setTimeout(() => {
|
||||
this.back()
|
||||
}, 500)
|
||||
// this.form = {
|
||||
// content: '',
|
||||
// contentType: 'text',
|
||||
|
||||
@@ -257,9 +257,11 @@ export default {
|
||||
if (res.code === 0) {
|
||||
this.$u.toast('新增成功')
|
||||
uni.$emit('reload')
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
setTimeout(() => {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
}, 500)
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.$u.toast(err)
|
||||
|
||||
Reference in New Issue
Block a user