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,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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!