This commit is contained in:
wangjinlei
2021-06-24 16:02:02 +08:00
parent f0e4bdbd5e
commit 7eb357aba5
4 changed files with 14 additions and 16 deletions

View File

@@ -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);
});
}
}
};