...
|
...
|
@@ -26,7 +26,7 @@ |
|
|
<script>
|
|
|
|
|
|
import { Button, Scroll, Input } from 'cube-ui';
|
|
|
import { mapActions, mapState } from 'vuex';
|
|
|
import { mapActions, mapState, mapMutations } from 'vuex';
|
|
|
|
|
|
export default {
|
|
|
name: 'ThirdBind',
|
...
|
...
|
@@ -62,6 +62,7 @@ export default { |
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(['sendBindSms', 'submitThirdBind']),
|
|
|
...mapMutations(['SET_LOGIN_INFO']),
|
|
|
open() {
|
|
|
this.bindCode = this.$route.query.bind_code;
|
|
|
this.phone = '';
|
...
|
...
|
@@ -126,6 +127,7 @@ export default { |
|
|
if (res.code === 200) {
|
|
|
this.binded = true;
|
|
|
this.close();
|
|
|
this.SET_LOGIN_INFO({ uid: 999999999999 }); // 设置登录状态
|
|
|
} else {
|
|
|
this.toast(res.message);
|
|
|
}
|
...
|
...
|
|