Commit 74ea187b authored by yaya's avatar yaya

feat:会员详情bugfix

parent cb859661
......@@ -86,7 +86,7 @@
</template>
</el-table-column>
<el-table-column align="center" label="是否出售" prop="isAbleSale" min-width="100px">
<template slot-scope="scope" style="height: 100px">
<template slot-scope="scope">
<el-switch
v-model="scope.row.isAbleSale"
:active-text="scope.row.isAbleSale === true ? '是' : '否'"
......@@ -163,7 +163,7 @@
:total="total"
:page.sync="listQuery.page"
layout="total, prev, pager, next, jumper"
@pagination="getList" />
@pagination="handlePage" />
</div>
</div>
......@@ -251,6 +251,16 @@ export default {
}
this.getList()
},
/**
* Tab选择
*/
handlePage() {
if (this.defaultActive === '0') {
this.getItemList()
return
}
this.getList()
},
/**
* 获取详情
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment