Pārlūkot izejas kodu

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

xujing 5 gadus atpakaļ
vecāks
revīzija
1def67b0c9
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5
    5
      src/pages/person/index.js

+ 5
- 5
src/pages/person/index.js Parādīt failu

@@ -93,6 +93,11 @@ export default class Person extends Component {
93 93
     }
94 94
     else {
95 95
       putRegisterConsultant().then(res => {
96
+        Taro.showToast({
97
+          title: "匹配成功",
98
+          icon: "none",
99
+          duration: 3000
100
+        })
96 101
         Taro.setStorageSync('userId',res.userId)
97 102
         const  payload={
98 103
           path:'',
@@ -103,11 +108,6 @@ export default class Person extends Component {
103 108
           this.loadUserInfo()
104 109
         })
105 110
 
106
-        Taro.showToast({
107
-          title: "匹配成功",
108
-          icon: "none",
109
-          duration: 3000
110
-        })
111 111
 
112 112
         // this.setState({
113 113
         //   consultant:true,