Open fengchao opened 8 years ago
Reason: in src/api/api.js, the match is checked by if (name === user.name && password === user.password) {
if (name === user.name && password === user.password) {
both password and user.password is 123, but one of it are number while the other are text.
Change it to below fix the issue. if (name == user.name && password == user.password) {
if (name == user.name && password == user.password) {
thanks, i'll make a new release then
Reason: in src/api/api.js, the match is checked by
if (name === user.name && password === user.password) {
both password and user.password is 123, but one of it are number while the other are text.
Change it to below fix the issue.
if (name == user.name && password == user.password) {