Skip to content

Commit e260928

Browse files
committed
fix search result not work
1 parent d5c68b5 commit e260928

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/js/view/workspace/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
<div class="app-list-main">
6060
<div class="app-list-tabs" :class="{hideBar: search}">
6161
<div class="nodata-tips" v-if="tabsApplication.length===0">{{$t('message.workSpace.home.tips')}}</div>
62-
<Tabs v-else>
63-
<Tab-pane v-for="(type, index) in tabsApplication" :label="type.title" :key="type.title">
62+
<Tabs v-else active-key=0>
63+
<Tab-pane v-for="(type, index) in tabsApplication" :label="type.title" :key="index">
6464
<div class="pane-wrap">
6565
<Card v-for="item in tabsApplication[index].appInstances" :key="item.name" class="pane-item">
6666
<div class="app-entrance">
@@ -265,7 +265,7 @@ export default {
265265
}
266266
return false;
267267
})
268-
this.searchResult = [{title: '', appInstances: [...this.searchResult]}];
268+
this.searchResult = [{title: 'result', appInstances: [...this.searchResult]}];
269269
this.search = true;
270270
}else{
271271
this.search = false;

0 commit comments

Comments
 (0)