AI 1 lună în urmă
părinte
comite
3bd8d90648
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 2 2
      src/store/modules/news.js
  2. 1 0
      src/views/news/GoodList.vue

+ 2 - 2
src/store/modules/news.js

@@ -1,5 +1,5 @@
 import { getArticleList,addArticle,delArticle,getArticleInfo,updateArticle,upArticleStatus,
-  getSurveyList,getSurveyInfo,
+  getSurveyList,getSurveyInfo, getGoodList,getGoodInfo,addGood,delGood,updateGood,websiteList,getWebsiteNavList
 } from '@/api/news'
 
 const state = {
@@ -33,7 +33,7 @@ const actions = {
       })
     })
   },
-  
+
   //投票列表 end ---------------------------------------->
 
 

+ 1 - 0
src/views/news/GoodList.vue

@@ -148,6 +148,7 @@ export default {
       this.$store.dispatch('news/getGoodList', this.getApiData).then(res => {
         //格式化:islink=0为不使用外面 islink=1为使用外链
         //status=1为显示 status=2为不显示
+        console.log(this.getApiData, '---2-')
         let data = [];
         for (let item of res.data.rows) {
           // if(item.status==0){item.status="隐藏"}