修改【暂无游戏】显示条件
This commit is contained in:
parent
9254fe4885
commit
8c6048f09f
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user