Browse Source

我的图库修改

jwyu 2 years ago
parent
commit
f42afaf229
3 changed files with 5 additions and 2 deletions
  1. 1 0
      src/views/myChart/Detail.vue
  2. 2 1
      src/views/myChart/List.vue
  3. 2 1
      src/views/myChart/Search.vue

+ 1 - 0
src/views/myChart/Detail.vue

@@ -11,6 +11,7 @@ let url=ref('')
 function init(){
     const queryObj={
         ChartInfoId:route.query.chartInfoId,
+        chartCode:route.query.chartCode,
         source:'ybxcx_my_chart',
         token:localStorage.getItem('token'),
         timestamp:new Date().getTime(),//防止缓存

+ 2 - 1
src/views/myChart/List.vue

@@ -64,7 +64,8 @@ function goDetail(item){
     router.push({
         path:'/mychart/detail',
         query:{
-            chartInfoId:item.chart_info_id
+            chartInfoId:item.chart_info_id,
+            chartCode:item.unique_code
         }
     })
 }

+ 2 - 1
src/views/myChart/Search.vue

@@ -58,7 +58,8 @@ function goDetail(item){
     router.push({
         path:'/mychart/detail',
         query:{
-            chartInfoId:item.chart_info_id
+            chartInfoId:item.chart_info_id,
+            chartCode:item.unique_code
         }
     })
 }