修改【暂无游戏】显示条件

This commit is contained in:
yulixing 2019-05-31 11:50:04 +08:00
parent 9254fe4885
commit 8c6048f09f
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<el-col :span="8" v-for="(item, index) in gameList" :key="index">
<game-card :info="item" @change="refreshData"/>
</el-col>
<el-col :span="8" v-if="gameList.length === 0">暂无游戏</el-col>
<el-col :span="8" v-if="gameList.length === 0 && !permEditGame">暂无游戏</el-col>
</el-row>
</el-card>
</el-col>

View File

@ -10,7 +10,7 @@
<el-col :span="6" v-for="(item, index) in gameList" :key="index">
<game-card :info="item" @change="refreshData"/>
</el-col>
<el-col :span="6" v-if="gameList.length === 0">
<el-col :span="6" v-if="gameList.length === 0 && !permEdit">
暂无游戏
</el-col>
</el-row>