hurx 1 周之前
父節點
當前提交
ce7c18ae84
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
   }