diff --git a/pages/my/index.vue b/pages/my/index.vue
index 6b17d60..361dd6f 100644
--- a/pages/my/index.vue
+++ b/pages/my/index.vue
@@ -143,6 +143,20 @@
+
+
+
+
+
+
+
+
+ 专业力必修
+
+
+
+
+
@@ -318,6 +332,7 @@
import {userAvatarText} from '@/utils/tools.js';
import apiStart from '@/api/phase2/stat.js';
import apiFollow from "@/api/phase2/userfollow.js";
+ import { studentGrowthList } from "@/api/modules/growth";
export default {
computed: {
...mapGetters(['userInfo']),
@@ -327,6 +342,7 @@
},
data() {
return {
+ showGrowthNav:false,
concernme:'',
myconcern:'',
userInfoObj:{
@@ -366,6 +382,9 @@
onShow() {
this.userInfoObj=this.userInfo;
// console.log(this.userInfoObj,"我拿到的数据")
+ studentGrowthList().then(res =>{
+ this.showGrowthNav = !!res.data.length
+ })
},
onload(){
//this.load()