diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue index 1c2c9357dc8d5c525f5c72bfd40eff8ae89c3773..ef2fc79b7a989fbb75c28e0820e433185e506651 100644 --- a/src/layouts/components/NavBar/index.vue +++ b/src/layouts/components/NavBar/index.vue @@ -17,9 +17,15 @@
- {{ screeningList[curSelectedIndex].title }}
+ {{
+ curSelectedIndex != -1 ? screeningList[curSelectedIndex].title : ""
+ }}