Forum >测试审核未通过
测试审核未通过

h1h1h1h1h1h1
h2h2h2h2h2h2
h3h3h3h3h3h3
测试审核未通过测试审核未通过测试审核未通过测试审核未通过测试审核未通过
async addActive() { const _this = this; const url = '/api/project_thumbs/add'; const formData = new FormData(); const postData = { project_id: this.key, token: this.token, }; if (this.isLogin) { for (const key in postData) { formData.append(key, postData[key]); } await this.$axios .post(url, formData, { useCache: true }) .then(function (response) { _this.topic.thumbs_id = response.data.data.thumbs_id; }) .catch(function (error) { // eslint-disable-next-line no-console console.log(error); }); } else { this.showDialog({ type: 'yes', title: 'Login required', trueStr: 'OK', }); } },