|
@@ -69,7 +69,7 @@
|
|
<el-button v-if="scope.row.status == 1" type="primary" link
|
|
<el-button v-if="scope.row.status == 1" type="primary" link
|
|
@click="getChange(scope.row.id, '上架', 0)">上架</el-button>
|
|
@click="getChange(scope.row.id, '上架', 0)">上架</el-button>
|
|
<el-button v-else type="primary" link @click="getChange(scope.row.id, '下架', 1)">下架</el-button>
|
|
<el-button v-else type="primary" link @click="getChange(scope.row.id, '下架', 1)">下架</el-button>
|
|
- <el-button type="danger" link @click="getDelete(item)">删除</el-button>
|
|
|
|
|
|
+ <el-button type="danger" link @click="getDelete(scope.row)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|