Przeglądaj źródła

我的图库收藏修改

jwyu 2 lat temu
rodzic
commit
67743fbef4
3 zmienionych plików z 3 dodań i 2 usunięć
  1. 1 0
      pages-myChart/detail.vue
  2. 1 1
      pages-myChart/list.vue
  3. 1 1
      pages/myChart/index.vue

+ 1 - 0
pages-myChart/detail.vue

@@ -13,6 +13,7 @@ export default {
     onLoad(options){
         const queryObj={
             ChartInfoId:options.chartInfoId,
+            chartCode:options.chartCode,
             source:'ybxcx_my_chart',
             token:this.$store.state.user.token||uni.getStorageSync("token"),
             timestamp:new Date().getTime(),//防止缓存

+ 1 - 1
pages-myChart/list.vue

@@ -94,7 +94,7 @@ export default {
 
         goDetail(item){
             uni.navigateTo({
-                url: `/pages-myChart/detail?chartInfoId=${item.chart_info_id}`, 
+                url: `/pages-myChart/detail?chartInfoId=${item.chart_info_id}&chartCode=${item.unique_code}`, 
             });
         },
 

+ 1 - 1
pages/myChart/index.vue

@@ -161,7 +161,7 @@ export default {
 
         goDetail(item){
             uni.navigateTo({
-                url: `/pages-myChart/detail?chartInfoId=${item.chart_info_id}`, 
+                url: `/pages-myChart/detail?chartInfoId=${item.chart_info_id}&chartCode=${item.unique_code}`, 
             });
         }
     },