wangxy 2 years ago
parent
commit
3dcca29f66
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/common/applicationDialog.vue

+ 2 - 2
components/common/applicationDialog.vue

@@ -163,7 +163,7 @@ export default {
         this.$message.error('请先通过滑块校验');
         this.$message.error('请先通过滑块校验');
         return;
         return;
       }
       }
-      const {tel: phone} = this.telChangeDate;
+      const {tel: phone} = this.formData;
       this.$axios.$post(`/develop/exists`, {phone}).then(res => {
       this.$axios.$post(`/develop/exists`, {phone}).then(res => {
         if (res.code === 0 && res.data) {
         if (res.code === 0 && res.data) {
           const {appkey, scene, csessionid: sessionid, sig, token} = this.sliderData;
           const {appkey, scene, csessionid: sessionid, sig, token} = this.sliderData;
@@ -184,7 +184,7 @@ export default {
     applyFor() {
     applyFor() {
       this.$refs.ruleTelForm.validate((valid) => {
       this.$refs.ruleTelForm.validate((valid) => {
         if (valid) {
         if (valid) {
-          const {tel: phone, verification: code} = this.telChangeDate;
+          const {tel: phone, verification: code} = this.formData;
           // 请求后台
           // 请求后台
           const options = {phone, code};
           const options = {phone, code};
           this.$axios.$post('/develop/add', options).then(res => {
           this.$axios.$post('/develop/add', options).then(res => {