Skip to content

Commit

Permalink
[*] Fix incorrect use of message util and dialog util
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Sep 12, 2024
1 parent 4f6995f commit 404b400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Sign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ async function doSign() {
}
if (!rs) return
if (rs.status === 200) {
sendErrorMessage(rs.message)
sendSuccessDialog('签到成功,本次获得 ' + rs.data.signTraffic + ' GiB 流量')
checkSign()
} else {
sendSuccessDialog(rs.message)
sendErrorMessage(rs.message)
checkSign()
}
}
Expand Down

0 comments on commit 404b400

Please sign in to comment.