diff --git a/src/views/NewPlatform/Children/ShareChild/Institute.vue b/src/views/NewPlatform/Children/ShareChild/Institute.vue
index cbd8fbd..1e31957 100644
--- a/src/views/NewPlatform/Children/ShareChild/Institute.vue
+++ b/src/views/NewPlatform/Children/ShareChild/Institute.vue
@@ -6,21 +6,18 @@
-
设备列表
-
-
+
研究院介绍
+
123
+
设备列表
+
+
{{ item.name }}
了解更多→
-
人才团队带头人情况
-
+
人才团队带头人情况
+
-
-
团队成员信息
-
+
出生年月
学历学位
职称职务
@@ -68,13 +64,12 @@
男
女
-
{{ item.birthday }}
{{ item.education }}
{{ item.position }}
{{ item.direction }}
-
+
-->
@@ -131,8 +126,10 @@ export default {
const res = await selInstrumentByRes(params);
const { code, msg, data } = res.data;
if (code === 200) {
- this.list = data.list;
- this.total = parseInt(data.total);
+ if (data.list !== []) {
+ this.list = data.list;
+ this.total = parseInt(data.total);
+ }
}
} catch (error) {
console.log(error);
@@ -145,7 +142,9 @@ export default {
const res = await teamSearch(params);
const { code, msg, data } = res.data;
if (code === 200) {
- this.obj = data[0];
+ if (data !== []) {
+ this.obj = data[0];
+ }
}
} catch (error) {
console.log(error);