This commit is contained in:
wangjinlei
2021-06-24 18:05:23 +08:00
parent 97647f152b
commit 55ba44f868

View File

@@ -1,17 +1,17 @@
<template>
<div class="login-wrap" v-loading="loading">
</div>
<div class="login-wrap" v-loading="loading"></div>
</template>
<script>
export default {
data: function () {
return {
query: {
account: localStorage.getItem('ms_username'),
code: this.$route.query.code,
code: this.$route.query.code
},
loading: true,
loginForm: {},
loginForm: {}
};
},
created: function () {
@@ -20,7 +20,7 @@ export default {
methods: {
initLinkOrcid() {
this.$api
.post('api/User/OrcidBinding', { code: this.code })
.post('api/User/OrcidBinding', this.query)
.then((res) => {
this.$message.success('Bind success');
this.$router.push('/');