Parcourir la source

Merge branch 'ch/eta_forum_3.0' of eta_front/eta_mobile_front into debug

leichen il y a 1 semaine
Parent
commit
ea4bc5f310
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/views/chartETA/List.vue

+ 3 - 1
src/views/chartETA/List.vue

@@ -364,13 +364,14 @@ const listState = reactive({
     IsShowMe:false
 })
 //获取图表列表
-async function getChartList(){
+async function getChartList( IsSelected ){
     const {pageSize,cid,page,IsShowMe} = listState
     const res = await apiChart.pubChartList({
         PageSize: pageSize,
         CurrentIndex: page,
         ChartClassifyId: cid,
         IsShowMe,
+        IsSelected
     })
     if(res.Ret!==200) return 
     const arr = res.Data?res.Data.List:[]
@@ -399,6 +400,7 @@ function onLoad(){
 
 function onClickTab() {
     getCatalogList(category.value)
+    getChartList(category.value)
 }
 
 getCatalogList()