1
This commit is contained in:
@@ -27,8 +27,7 @@
|
||||
</el-col>
|
||||
<el-col :span="24" style="margin-top: 5px">
|
||||
<el-link :underline="false" type="primary" @click="skip_check()">
|
||||
<img class="orcid" src="../../assets/img/orcid.png" style="float: left; margin: -1px 5px 0 0" />Login with your
|
||||
orcid
|
||||
<img class="orcid" src="../../assets/img/orcid.png" style="float: left; margin: -1px 5px 0 0" />{{$t('system.orcidlogin')}}
|
||||
</el-link>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -126,21 +126,18 @@
|
||||
};
|
||||
},
|
||||
created: function() {
|
||||
// this.initLinkOrcid();
|
||||
this.initLinkOrcid();
|
||||
},
|
||||
methods: {
|
||||
//推送记录信息
|
||||
initLinkOrcid() {
|
||||
// this.$message.success(this.query.account);
|
||||
|
||||
// this.$api
|
||||
// .post('api/User/getUserForOrcid', this.query)
|
||||
// .then((res) => {
|
||||
// alert('okokok!!!!');
|
||||
// })
|
||||
// .catch((err) => {
|
||||
// console.log(err);
|
||||
// });
|
||||
this.$api
|
||||
.post('api/User/getUserForOrcid', this.query)
|
||||
.then((res) => {
|
||||
alert('okokok!!!!');
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user