optimized project

This commit is contained in:
marvzhang
2020-02-02 15:48:19 +08:00
parent 2243f4d700
commit 3f5685cd31
2 changed files with 4 additions and 2 deletions

View File

@@ -225,6 +225,7 @@ export default {
'Project Description': '项目描述',
'Tags': '标签',
'Enter Tags': '输入标签',
'No Project': '无项目',
// 定时任务
'Schedule Name': '定时任务名称',

View File

@@ -77,7 +77,7 @@
<ul v-else class="list">
<li
class="item"
v-for="item in projectList"
v-for="(item, index) in projectList"
:key="item._id"
@click="onView(item)"
>
@@ -87,7 +87,8 @@
<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 class="title">{{ item.name }}</h4>
<h4 v-if="index !== projectList.length - 1" class="title">{{ item.name }}</h4>
<h4 v-else class="title">{{ $t('No Project') }}</h4>
</el-row>
<el-row>
<div class="spider-count">