瀏覽代碼

邮箱修改增加url参数

hangb 7 年之前
父節點
當前提交
c6b7075a34
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      components/mobile/changeManager/StepEmail.vue
  2. 1 1
      components/mobile/encryptedSetting/StepEmail.vue

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