Эх сурвалжийг харах

邮箱修改增加url参数

hangb 7 жил өмнө
parent
commit
c6b7075a34

+ 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) {

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

@@ -52,7 +52,7 @@
       // 发送邮件
       sureAccount () {
         this.$indicator.open('发送过程中...')
-        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.$indicator.close()
             if (response.data.success) {