File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 48
48
<div class =" wiki-layout-con" >
49
49
<Spin size =" large" fix v-if =" show_loading" ></Spin >
50
50
<Collapse >
51
- <Panel v-bind:key =" index" v-for =" (item, index) in groupInfo" :name =" index.toString()" >
52
- {{item.name}}【{{item.create_time}}】 <span style =" float : right ;margin-right : 20px ;" >接口数量{{item.api_info. length}} | 项目热度{{item.hot}}</span >
53
- <p slot =" content" >
51
+ <Panel v-bind:key =" index" v-for =" (item, index) in groupInfo" :name =" index.toString()" >
52
+ {{item.name}}【{{item.create_time}}】 <span style =" float : right ;margin-right : 20px ;" >接口数量{{item.api_info ? item.api_info. length : 0 }} | 项目热度{{item.hot}}</span >
53
+ <p slot =" content" v-if = " item.api_info " >
54
54
<span v-bind:key =" api_index" v-for =" (api_item, api_index) in item.api_info" @click =" showApiDetail(api_item.hash)" style =" cursor :pointer " >
55
55
<Alert type =" warning" v-if =" api_item.method === 0" >
56
56
<h3 >/api/{{api_item.hash}}</h3 >
75
75
</Alert >
76
76
</span >
77
77
</p >
78
+ <p slot =" content" v-else style =" text-align : center " >
79
+ <span >暂无接口</span >
80
+ </p >
78
81
</Panel >
79
82
</Collapse >
80
83
<ABackTop :height =" 100" :bottom =" 80" :right =" 60" container =" .wiki-layout-con" ></ABackTop >
You can’t perform that action at this time.
0 commit comments