1
This commit is contained in:
@@ -2,8 +2,9 @@ const en = {
|
||||
|
||||
system: {
|
||||
title: 'Submission System',
|
||||
repassword:'Forget the password? ',
|
||||
register:'Register now',
|
||||
repassword:'Forgot your password?',
|
||||
register:'Not registered yet? Register now.',
|
||||
orcidlogin:'Login with your ORCID iD',
|
||||
login:'Log in',
|
||||
forgetpwd:'Find Your Password',
|
||||
screen:'full screen',
|
||||
|
||||
@@ -4,6 +4,7 @@ const zh = {
|
||||
title: '投稿系统',
|
||||
repassword:'忘记密码',
|
||||
register:'注册',
|
||||
orcidlogin:'ORCID登陆',
|
||||
login:'登录',
|
||||
forgetpwd:'找回密码',
|
||||
screen:'全屏',
|
||||
|
||||
@@ -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