提交代码

This commit is contained in:
jiang 2024-12-04 15:54:55 +08:00
parent da8434ff94
commit e985424ad6
1 changed files with 3 additions and 3 deletions

View File

@ -241,14 +241,14 @@ export default {
let reviewers = []; let reviewers = [];
this.tableData.forEach((item) => { this.tableData.forEach((item) => {
if (item.type === '0') { if (item.type === '0') {
reviewers.push(item); reviewers.push(item.id);
} }
if (item.type === '1') { if (item.type === '1') {
annotators.push(item); annotators.push(item.id);
} }
}) })
this.form.annotators = annotators; this.form.annotators = annotators;
this.form.reviewers = annotators; this.form.reviewers = reviewers;
} }
add(this.form).then(response => { add(this.form).then(response => {
this.$modal.msgSuccess('发布成功') this.$modal.msgSuccess('发布成功')