@@ -178,6 +178,12 @@
}
}
}
+ // 返回首页
+ const goToHome = () => {
+ router.push({
+ path: '/home',
+ })
+ }
// 跳转页面
const jumpPage = (item) => {
// console.log(item)
@@ -355,6 +361,7 @@
font-size: 0.16rem;
}
.name {
+ cursor: pointer;
font-size: 0.22rem;
font-family: header-typeface;
margin-right: 0.2rem;
diff --git a/front/src/views/home/components/packageAbilityList.vue b/front/src/views/home/components/packageAbilityList.vue
index d72eeaa8..92727a4e 100644
--- a/front/src/views/home/components/packageAbilityList.vue
+++ b/front/src/views/home/components/packageAbilityList.vue
@@ -3,7 +3,7 @@
- {{ item }}
+ {{ (item || item === 0) ? item : '--' }}
@@ -15,8 +15,6 @@ const props = defineProps({
abilityInfo: { type: Object, default: () => { } },
})
-console.log('abilityInfo------------>', props.abilityInfo);
-