diff --git a/src/views/NewPlatform/Children/ShareChild/Institute.vue b/src/views/NewPlatform/Children/ShareChild/Institute.vue index 1e31957..4e21f81 100644 --- a/src/views/NewPlatform/Children/ShareChild/Institute.vue +++ b/src/views/NewPlatform/Children/ShareChild/Institute.vue @@ -7,17 +7,22 @@

研究院介绍

-
123
+
研究院介绍

设备列表

-
+

{{ item.name }}

了解更多→

-

人才团队带头人情况

-
+

人才团队带头人情况

+

姓名

性别

@@ -69,7 +74,7 @@
{{ item.position }}
{{ item.direction }}
-
--> +
-->
@@ -95,7 +100,7 @@ export default { { name: '科技资源开放共享服务平台', url: '/NewPlatform/Share' }, { name: '研究院详情', url: '' }, ], - obj: {}, + obj: null, list: [], }; }, @@ -142,8 +147,9 @@ export default { const res = await teamSearch(params); const { code, msg, data } = res.data; if (code === 200) { - if (data !== []) { + if (data !== [] && data.length > 0) { this.obj = data[0]; + console.log('this.obj: ', this.obj); } } } catch (error) {