Prevent stopping execution.
This commit is contained in:
@@ -82,12 +82,11 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let username = window.localStorage.getItem("username");
|
let username = window.localStorage.getItem("username");
|
||||||
if (!username) {
|
if (username) {
|
||||||
return;
|
this.username = username;
|
||||||
|
this.usernameSet = true;
|
||||||
|
this.$emit("username", username);
|
||||||
}
|
}
|
||||||
this.username = username;
|
|
||||||
this.usernameSet = true;
|
|
||||||
this.$emit("username", username);
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
pad: function(num) {
|
pad: function(num) {
|
||||||
|
|||||||
Reference in New Issue
Block a user