fix:客户端注册充值取消
This commit is contained in:
parent
17d5e3a1c9
commit
e4292ee87d
|
|
@ -159,16 +159,6 @@ export const constantRoutes = [{
|
|||
permission: "pass",
|
||||
icon: 'btn_video'
|
||||
}
|
||||
}, {
|
||||
path: 'recharge',
|
||||
name: 'recharge',
|
||||
component: () => import('@/views/Recharge.vue'),
|
||||
meta: {
|
||||
title: 'recharge',
|
||||
menuItem: true,
|
||||
permission: "pass",
|
||||
icon: 'btn_kscz'
|
||||
}
|
||||
}, {
|
||||
path: 'help',
|
||||
name: 'help',
|
||||
|
|
|
|||
|
|
@ -240,14 +240,10 @@ export default {
|
|||
this.imageUrl = res.msg
|
||||
this.showResult = true
|
||||
} else if (res.code == -1) {
|
||||
this.$confirm({
|
||||
this.$modal.error({
|
||||
title: this.$t('common.notice'),
|
||||
content: this.$t('common.balenceLow'),
|
||||
okText: this.$t('common.confirm'),
|
||||
cancelText: this.$t('common.cancel'),
|
||||
onOk: (_) => {
|
||||
this.$router.push('/recharge')
|
||||
}
|
||||
okText: this.$t('common.confirm')
|
||||
})
|
||||
} else if (res.code == -2) {
|
||||
this.$modal.error({
|
||||
|
|
|
|||
|
|
@ -186,14 +186,10 @@ export default {
|
|||
this.showResult = true
|
||||
this.imageUrl = res.msg
|
||||
} else if (res.code == -1) {
|
||||
this.$confirm({
|
||||
this.$modal.error({
|
||||
title: this.$t('common.notice'),
|
||||
content: this.$t('common.balenceLow'),
|
||||
okText: this.$t('common.confirm'),
|
||||
cancelText: this.$t('common.cancel'),
|
||||
onOk: (_) => {
|
||||
this.$router.push('/recharge')
|
||||
}
|
||||
okText: this.$t('common.confirm')
|
||||
})
|
||||
} else if (res.code == -2) {
|
||||
this.$modal.error({
|
||||
|
|
|
|||
|
|
@ -565,14 +565,10 @@ export default {
|
|||
this.$store.dispatch('main/setPrevent', true)
|
||||
this.getVideo(res.data.id)
|
||||
} else if (res.code == -1) {
|
||||
this.$confirm({
|
||||
this.$modal.error({
|
||||
title: this.$t('common.notice'),
|
||||
content: this.$t('common.balenceLow'),
|
||||
okText: this.$t('common.confirm'),
|
||||
cancelText: this.$t('common.cancel'),
|
||||
onOk: (_) => {
|
||||
this.$router.push('/recharge')
|
||||
}
|
||||
okText: this.$t('common.confirm')
|
||||
})
|
||||
} else if (res.code == -2) {
|
||||
this.$modal.error({
|
||||
|
|
|
|||
|
|
@ -451,14 +451,10 @@ export default {
|
|||
this.imageUrl = res.msg
|
||||
this.showResult = true
|
||||
} else if (res.code == -1) {
|
||||
this.$confirm({
|
||||
this.$modal.error({
|
||||
title: this.$t('common.notice'),
|
||||
content: this.$t('common.balenceLow'),
|
||||
okText: this.$t('common.confirm'),
|
||||
cancelText: this.$t('common.cancel'),
|
||||
onOk: (_) => {
|
||||
this.$router.push('/recharge')
|
||||
}
|
||||
okText: this.$t('common.confirm')
|
||||
})
|
||||
} else if (res.code == -2) {
|
||||
this.$modal.error({
|
||||
|
|
|
|||
|
|
@ -1237,10 +1237,10 @@ export default {
|
|||
this.getVideo(res.data.id)
|
||||
this.refreshChatFirstPage()
|
||||
} else if (res.code == -1) {
|
||||
this.$confirm({
|
||||
this.$modal.error({
|
||||
title: this.$t('common.notice'),
|
||||
content: this.$t('common.balenceLow'),
|
||||
onOk: () => this.$router.push('/recharge')
|
||||
okText: this.$t('common.confirm')
|
||||
})
|
||||
} else {
|
||||
const reason = res.msg || res.message || '提交失败'
|
||||
|
|
|
|||
Loading…
Reference in New Issue