Commit 74ea187b authored by yaya's avatar yaya

feat:会员详情bugfix

parent cb859661
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="是否出售" prop="isAbleSale" min-width="100px"> <el-table-column align="center" label="是否出售" prop="isAbleSale" min-width="100px">
<template slot-scope="scope" style="height: 100px"> <template slot-scope="scope">
<el-switch <el-switch
v-model="scope.row.isAbleSale" v-model="scope.row.isAbleSale"
:active-text="scope.row.isAbleSale === true ? '是' : '否'" :active-text="scope.row.isAbleSale === true ? '是' : '否'"
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
:total="total" :total="total"
:page.sync="listQuery.page" :page.sync="listQuery.page"
layout="total, prev, pager, next, jumper" layout="total, prev, pager, next, jumper"
@pagination="getList" /> @pagination="handlePage" />
</div> </div>
</div> </div>
...@@ -251,6 +251,16 @@ export default { ...@@ -251,6 +251,16 @@ export default {
} }
this.getList() 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