|
|
@@ -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;
|
|
|
}
|