yangchenggong1_wd

desc:埋点[登录页 - 登录按钮点击]

@@ -359,6 +359,7 @@ struct LoginPage { @@ -359,6 +359,7 @@ struct LoginPage {
359 requestLogin() { 359 requestLogin() {
360 Logger.debug('LoginViewModel', "requestLogin") 360 Logger.debug('LoginViewModel', "requestLogin")
361 if (this.checkCodePage) { 361 if (this.checkCodePage) {
  362 + TrackingButton.click("loginPageLoginButton",TrackConstants.PageName.Phone_Login_Page,TrackConstants.PageName.Phone_Login_Page)
362 this.loginViewModel.appLogin(this.phoneContent, 2, this.codeContent).then((data) => { 363 this.loginViewModel.appLogin(this.phoneContent, 2, this.codeContent).then((data) => {
363 Logger.debug(TAG, "requestLogin: " + data.jwtToken) 364 Logger.debug(TAG, "requestLogin: " + data.jwtToken)
364 ///同步兴趣tag 365 ///同步兴趣tag
@@ -370,6 +371,7 @@ struct LoginPage { @@ -370,6 +371,7 @@ struct LoginPage {
370 this.showToastTip(error) 371 this.showToastTip(error)
371 }) 372 })
372 } else { 373 } else {
  374 + TrackingButton.click("loginPageLoginButton",TrackConstants.PageName.Login_Page,TrackConstants.PageName.Login_Page)
373 this.loginViewModel.appLoginByPassword(this.accountContent, 0, this.passwordContent, "").then((data) => { 375 this.loginViewModel.appLoginByPassword(this.accountContent, 0, this.passwordContent, "").then((data) => {
374 Logger.debug(TAG, "requestLogin: " + data.jwtToken) 376 Logger.debug(TAG, "requestLogin: " + data.jwtToken)
375 this.showToastTip('登录成功') 377 this.showToastTip('登录成功')