Browse Source

修改bug

dev
岳鹏龙 1 year ago
parent
commit
00916b6230
  1. 6
      src/pages/votingElection/index.vue

6
src/pages/votingElection/index.vue

@ -69,7 +69,7 @@ const allChange = () => {
content: '确定吗?',
success: function (res) {
if (res.confirm) {
xjList.value.data?.forEach((ele: { vote_result: number }) => {
xjList.value.candidate?.forEach((ele: { vote_result: number }) => {
ele.vote_result = 1
})
params.value = xjList.value.candidate
@ -100,7 +100,9 @@ const submit = () => {
duration: 1500 // ms
})
} else {
voteMember(param)
voteMember(param).then(res=> {
uni.showToast({ title: res.msg, icon: 'success', duration: 1000 })
})
}
}

Loading…
Cancel
Save