|
@@ -21,7 +21,7 @@ $(document).ready(function () {
|
|
|
data: {"account": account, "pw": pw},
|
|
|
success: function (response) {
|
|
|
if (response.error === 0) {
|
|
|
- const url = response.last_page !== null && response.last_page !== '' ?
|
|
|
+ const url = response.last_page !== null && response.last_page !== undefined && response.last_page !== '' ?
|
|
|
response.last_page : '/pm';
|
|
|
if (response.login_ask === 0) {
|
|
|
location.href = url;
|