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