Commit 998bef31 authored by 李晓兵's avatar 李晓兵

'附件'

parents 355e35c1 b8eead4d
Pipeline #4473 canceled with stages
...@@ -556,22 +556,21 @@ export default { ...@@ -556,22 +556,21 @@ export default {
}, },
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp
.post(url, param)
.then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showLongCenter('解绑成功') vm.hlsPopup.showLongCenter('解绑成功')
vm.userQuery() vm.userQuery()
vm.approveBtn = false vm.approveBtn = false
this.$router.push({ vm.$router.push({
name: 'UserBind', name: 'UserBind',
}) })
} else { } else {
vm.hlsPopup.showLongCenter(res.message) vm.hlsPopup.showLongCenter(res.message)
} }
}) })
.catch(() => {
vm.hlsPopup.showLongCenter('传入参数异常')
})
} }
}, },
}) })
...@@ -608,9 +607,6 @@ export default { ...@@ -608,9 +607,6 @@ export default {
vm.hlsPopup.showLongCenter(res.message) vm.hlsPopup.showLongCenter(res.message)
} }
}) })
.catch(() => {
vm.hlsPopup.showLongCenter('传入参数异常')
})
} }
}, },
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment