{
- router.push({
- path: '/details',
- query: {
- id: id,
- },
- })
+ // router.push({
+ // path: '/details',
+ // query: {
+ // id: id,
+ // },
+ // })
+ window.open(window.SITE_CONFIG.previewUrl+ '#/details?id=' + id)
+ // alert(id)
}
- if (props.associatedComponents) {
+ console.log('这个是空值', props.associatedComponents[0])
+ if (props.associatedComponents[0].dataList.length > 0) {
+ console.log('这个是空值', props.associatedComponents)
flag.value = true
dataFrom.value = props.associatedComponents
console.log('dataFrom.value', dataFrom.value)
@@ -82,7 +86,7 @@
margin-top: 0.4rem;
width: 13.3rem;
display: flex;
- justify-content: space-between;
+ justify-content: space-around;
.associated-ability-card {
width: 3.2rem;
display: flex;
@@ -106,6 +110,7 @@
color: #999;
margin-right: 0.15rem;
margin-top: 0.15rem;
+ text-align: center;
}
}
}
diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
index bb2ac893..e920f5eb 100644
--- a/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
+++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmNavigation.vue
@@ -1,8 +1,8 @@
@@ -21,8 +21,14 @@