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