Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
QinZhen001 committed Oct 27, 2023
1 parent 352207c commit 15dc2de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vue/api-examples/src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ export const getDefaultLanguage = () => {

export const showJoinedMessage = (options) => {
if (options.token) {
message.success("Congratulations! Joined room successfully.")
ElMessage({
type: 'success',
message: "Congratulations! Joined room successfully."
})
} else {
const href = window.location.href.split('?')[0]
const finHref = `${href}?appId=${options.appId}&channel=${options.channel}`
Expand Down

0 comments on commit 15dc2de

Please sign in to comment.