瀏覽代碼

Add mentions with post

sbkwgh 8 年之前
父節點
當前提交
07e0081287
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/routes/ThreadNew.vue

+ 2 - 1
src/components/routes/ThreadNew.vue

@@ -93,7 +93,8 @@
 				}).then(res => {
 					return this.axios.post('/api/v1/post', {
 						threadId: res.data.id,
-						content: this.editor
+						content: this.editor,
+						mentions: this.mentions
 					})
 				}).then(res => {
 					this.loading = false