不展示无项目

This commit is contained in:
marvzhang
2020-04-19 12:06:23 +08:00
parent 3350d3b065
commit cdd93f1f19
2 changed files with 3 additions and 2 deletions

View File

@@ -630,6 +630,8 @@ docker run -d --restart always --name crawlab_worker \\
'Please enter your feedback content': '请输入您的反馈内容',
'No response from the server. Please make sure your server is running correctly. You can also refer to the documentation to solve this issue.': '服务器无响应请保证您的服务器正常运行您也可以参考文档来解决这个问题文档链接在下方',
'Are you sure to restart this task?': '确认重新运行该任务?',
'Are you sure to delete the project?': '确认删除该项目?',
'You have no projects created. You can create a project by clicking the "Add" button.': '您没有创建项目请点击 "添加项目" 按钮来创建一个新项目',
// 其他
'Star crawlab-team/crawlab on GitHub': ' GitHub 上为 Crawlab 加星吧'

View File

@@ -87,8 +87,7 @@
<i v-if="!isNoProject(item)" class="btn-edit fa fa-edit" @click="onEdit(item)"></i>
<i v-if="!isNoProject(item)" class="btn-close fa fa-trash-o" @click="onRemove(item)"></i>
<el-row>
<h4 v-if="index !== projectList.length - 1" class="title">{{ item.name }}</h4>
<h4 v-else class="title">{{ $t('No Project') }}</h4>
<h4 class="title">{{ item.name }}</h4>
</el-row>
<el-row>
<div style="display: flex; justify-content: space-between">