🦁
async login() {
if (await api.login(this.data)) {
setTimeout(() => {
this.$router.push('profile');
}, 1000);
}
}
const result = await ...
if (result)....
Size: a a a
🦁
async login() {
if (await api.login(this.data)) {
setTimeout(() => {
this.$router.push('profile');
}, 1000);
}
}
AD
J
VL
MM
async login() {
if (await api.login(this.data)) {
setTimeout(() => {
this.$router.push('profile');
}, 1000);
}
}
J
AD
DS
MM
SK
Uncaught SyntaxError: Unexpected identifierили
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
SK
SK
AD
MC
SK
AD
MC
DS
SK
DS