|
@@ -84,18 +84,25 @@ export default {
|
|
|
},
|
|
|
onLoad() {
|
|
|
this.tabQiehuan(this.tab)
|
|
|
+ uni.$on('shuaxianliebiao', this.aaaa)
|
|
|
+ },
|
|
|
+ onUnload() {
|
|
|
+ uni.$off('shuaxianliebiao', this.aaaa)
|
|
|
},
|
|
|
methods: {
|
|
|
+ aaaa() {
|
|
|
+ this.tabQiehuan(this.tab, 2)
|
|
|
+ },
|
|
|
quchuangjian() {
|
|
|
this.$navToPage({
|
|
|
url: '/packageMine/pages/masterGroup/createGroup'
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- tabQiehuan(index) {
|
|
|
+ tabQiehuan(index, tin = 1) {
|
|
|
this.tab = index
|
|
|
this.getBool = true
|
|
|
- this.pageNum = 1
|
|
|
+ this.pageNum = tin
|
|
|
this.dataList = []
|
|
|
this.getList()
|
|
|
},
|