fix: rating
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
saving: false,
|
||||
form: {
|
||||
topicId: '',
|
||||
itemId: '',
|
||||
userId: '',
|
||||
status: '',
|
||||
type: '', // topic 或 topicItem
|
||||
@@ -44,8 +45,9 @@
|
||||
showEdit(row, status, type) {
|
||||
this.title = `审核确认 (${type === 'topic' ? '话题' : '评价项'})`
|
||||
this.form = {
|
||||
topicId: row.id,
|
||||
userId: row.userId || '',
|
||||
topicId: type === 'topic' ? row.id : row.topicId || '',
|
||||
itemId: type === 'topicItem' ? row.id : '',
|
||||
userId: this.$store.state.user.userId || '',
|
||||
status,
|
||||
type,
|
||||
rejectReason: '',
|
||||
|
||||
Reference in New Issue
Block a user