File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 53
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
- <h3 >/api/{{api_item.hash}}</h3 >
56
+ <h3 >/api/{{api_item.hash_type === 1 ? api_item.api_class : api_item. hash}}</h3 >
57
57
<template slot="desc">
58
58
<Tag color =" warning" >不限</Tag >
59
59
{{api_item.info}}
60
60
</template >
61
61
</Alert >
62
62
<Alert v-if =" api_item.method === 2" >
63
- <h3 >/api/{{api_item.hash}}</h3 >
63
+ <h3 >/api/{{api_item.hash_type === 1 ? api_item.api_class : api_item. hash}}</h3 >
64
64
<template slot="desc">
65
65
<Tag color =" primary" >GET</Tag >
66
66
{{api_item.info}}
67
67
</template >
68
68
</Alert >
69
69
<Alert type =" success" v-if =" api_item.method === 1" >
70
- <h3 >/api/{{api_item.hash}}</h3 >
70
+ <h3 >/api/{{api_item.hash_type === 1 ? api_item.api_class : api_item. hash}}</h3 >
71
71
<template slot="desc">
72
72
<Tag color =" success" >POST</Tag >
73
73
{{api_item.info}}
You can’t perform that action at this time.
0 commit comments