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