fix set name bug for collab demo
This commit is contained in:
@@ -109,7 +109,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
setName() {
|
||||
const name = window.prompt('Name')
|
||||
const name = (window.prompt('Name') || '')
|
||||
.trim()
|
||||
.substring(0, 32)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user