LiuJ 2 tuần trước cách đây
mục cha
commit
abe4e5fbcb
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/news/creatNews.vue

+ 2 - 1
src/views/news/creatNews.vue

@@ -600,7 +600,8 @@ export default {
           if (formData.commend_id.length == 0) {
             formData.commend_id = '[]';
           }
-          this.$store.dispatch('news/addArticle', this.form).then(res => {
+
+          this.$store.dispatch('news/addArticle', formData).then(res => {
             if (res.code == 200) {
               //汇报结果
               this.$message({