hurx hace 1 semana
padre
commit
ce7c18ae84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   }