update
This commit is contained in:
@@ -169,7 +169,7 @@
|
||||
{{ toolModeSummary(tool) }}
|
||||
</span>
|
||||
<div class="actions">
|
||||
<button type="button" class="btn-small" @click="openDetailPage(tool.slug)">
|
||||
<button v-if="tool.accessMode !== 'none'" type="button" class="btn-small" @click="openDetailPage(tool.slug)">
|
||||
详情
|
||||
</button>
|
||||
<button
|
||||
@@ -585,7 +585,7 @@ function toolModeSummary(tool) {
|
||||
return `下载 ${formatNumber(tool.downloadCount)}`;
|
||||
}
|
||||
if (tool.accessMode === 'none') {
|
||||
return '仅详情';
|
||||
return '文档';
|
||||
}
|
||||
return `访问 ${formatNumber(tool.openCount)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user