slot
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
header-align="center"
|
header-align="center"
|
||||||
align="center"
|
align="center"
|
||||||
label="状态">
|
label="状态">
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.state == 0"> 发布</span>
|
<span v-if="scope.row.state == 0"> 发布</span>
|
||||||
<span v-if="scope.row.state == 1"> 下架</span>
|
<span v-if="scope.row.state == 1"> 下架</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
header-align="center"
|
header-align="center"
|
||||||
align="center"
|
align="center"
|
||||||
label="状态">
|
label="状态">
|
||||||
<template scope="scoped">
|
<template slot-scope="scoped">
|
||||||
<span v-if="scoped.row.suupensionState">挂起</span>
|
<span v-if="scoped.row.suupensionState">挂起</span>
|
||||||
<span v-else>正常</span>
|
<span v-else>正常</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
header-align="center"
|
header-align="center"
|
||||||
align="center"
|
align="center"
|
||||||
label="状态">
|
label="状态">
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.state == 0"> 发布</span>
|
<span v-if="scope.row.state == 0"> 发布</span>
|
||||||
<span v-if="scope.row.state == 1"> 下架</span>
|
<span v-if="scope.row.state == 1"> 下架</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user