hurx 1 tydzień temu
rodzic
commit
ce7c18ae84
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/home/pc-index.vue

+ 1 - 1
src/views/home/pc-index.vue

@@ -9,7 +9,7 @@ import { getPcDiyIndexPageById } from '@/api/home/diy';
 import diyIndex from '@/views/home/pccomponents/index.vue';
 const route = useRoute();
 const dataInfo = ref<any>(null);
-getPcDiyIndexPageById({ id: route.query.id }).then((res) => {
+getPcDiyIndexPageById({ indexId: route.query.id }).then((res) => {
   if (res.code == 200) {
     dataInfo.value = res.data;
   }