소스 검색

增加邮箱参数url

hangb 7 년 전
부모
커밋
631e41a4a1

+ 1 - 1
components/change/ChangeStepEmail.vue

@@ -59,7 +59,7 @@
 //      第一步验证邮箱
       firstStepValidEmail () {
         this.isShowLoading = true
-        this.$http.get(`/sso/change/admin/check/email`)
+        this.$http.get(`/sso/change/admin/check/email`, {params: {url: window.location.href}})
           .then(response => {
             this.isShowLoading = false
             if (response.data.success) {

+ 1 - 1
components/encrypted-setting/EncryptedEmail.vue

@@ -58,7 +58,7 @@
 //      第一步验证邮箱
       firstStepValidEmail () {
         this.isShowLoading = true
-        this.$http.get(`/update/user/check/email`, {params: {email: this.info, operate: 'question'}})
+        this.$http.get(`/update/user/check/email`, {params: {email: this.info, operate: 'question', url: window.location.href}})
           .then(response => {
             this.isShowLoading = false
             if (response.data.success) {

+ 1 - 1
components/mobile/changeManager/StepEmail.vue

@@ -52,7 +52,7 @@
       // 发送邮件
       sureAccount () {
         this.$indicator.open('发送过程中...')
-        this.$http.get(`/sso/change/admin/check/email`)
+        this.$http.get(`/sso/change/admin/check/email`, {params: {url: window.location.href}})
           .then(response => {
             this.$indicator.close()
             if (response.data.success) {

+ 2 - 2
components/mobile/encryptedSetting/StepEmail.vue

@@ -51,8 +51,8 @@
       },
       // 发送邮件
       sureAccount () {
-        this.$indicator.open('发送过程中...')
-        this.$http.get(`/update/user/check/email`, {params: {email: this.info, operate: 'question'}})
+        this.$indicator.open('发送过程中...'),
+        this.$http.get(`/update/user/check/email`, {params: {email: this.info, operate: 'question', url: window.location.href}})
           .then(response => {
             this.$indicator.close()
             if (response.data.success) {