登录注册
Showing
1 changed file
with
13 additions
and
1 deletions
| ... | @@ -280,7 +280,11 @@ const open = (params, type) => { | ... | @@ -280,7 +280,11 @@ const open = (params, type) => { |
| 280 | sliderText.value = 'Drag the slider to complete the puzzle' | 280 | sliderText.value = 'Drag the slider to complete the puzzle' |
| 281 | title.value = 'LOGIN' | 281 | title.value = 'LOGIN' |
| 282 | } | 282 | } |
| 283 | if (type) typeStr.value = type | 283 | if (type) { |
| 284 | typeStr.value = type | ||
| 285 | } else { | ||
| 286 | typeStr.value = null | ||
| 287 | } | ||
| 284 | getCode() | 288 | getCode() |
| 285 | getCookie() | 289 | getCookie() |
| 286 | } | 290 | } |
| ... | @@ -337,6 +341,7 @@ function showRegister() { | ... | @@ -337,6 +341,7 @@ function showRegister() { |
| 337 | // } | 341 | // } |
| 338 | 342 | ||
| 339 | 343 | ||
| 344 | if (typeStr.value) { | ||
| 340 | if (typeStr.value && typeStr.value == 2) { | 345 | if (typeStr.value && typeStr.value == 2) { |
| 341 | if (language.value == 0) { | 346 | if (language.value == 0) { |
| 342 | title.value = '账号注册' | 347 | title.value = '账号注册' |
| ... | @@ -346,6 +351,13 @@ function showRegister() { | ... | @@ -346,6 +351,13 @@ function showRegister() { |
| 346 | } else { | 351 | } else { |
| 347 | goRegister(typeStr.value) | 352 | goRegister(typeStr.value) |
| 348 | } | 353 | } |
| 354 | } else { | ||
| 355 | if (language.value == 0) { | ||
| 356 | title.value = '账号注册' | ||
| 357 | } else { | ||
| 358 | title.value = 'REGISTER' | ||
| 359 | } | ||
| 360 | } | ||
| 349 | } | 361 | } |
| 350 | 362 | ||
| 351 | function goRegister(n) { | 363 | function goRegister(n) { | ... | ... |
-
Please register or sign in to post a comment