1
This commit is contained in:
@@ -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 {
|
||||
account: localStorage.getItem('ms_username'),
|
||||
code: this.$route.query.code,
|
||||
query: {
|
||||
account: localStorage.getItem('ms_username'),
|
||||
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('/');
|
||||
|
||||
Reference in New Issue
Block a user