67a742a3 by zhangmeng

登录注册

1 parent 8554c0db
...@@ -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,14 +341,22 @@ function showRegister() { ...@@ -337,14 +341,22 @@ function showRegister() {
337 // } 341 // }
338 342
339 343
340 if (typeStr.value && typeStr.value == 2) { 344 if (typeStr.value) {
345 if (typeStr.value && typeStr.value == 2) {
346 if (language.value == 0) {
347 title.value = '账号注册'
348 } else {
349 title.value = 'REGISTER'
350 }
351 } else {
352 goRegister(typeStr.value)
353 }
354 } else {
341 if (language.value == 0) { 355 if (language.value == 0) {
342 title.value = '账号注册' 356 title.value = '账号注册'
343 } else { 357 } else {
344 title.value = 'REGISTER' 358 title.value = 'REGISTER'
345 } 359 }
346 } else {
347 goRegister(typeStr.value)
348 } 360 }
349 } 361 }
350 362
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!