删除多余

This commit is contained in:
shijingjing
2022-02-14 13:42:07 +08:00
parent 96a7f2f6f8
commit e8abec7eb9

View File

@@ -69,7 +69,7 @@ export default {
current: 1,
pages: 0,
show: false,
myGirdList: [],
// myGirdList: [],
girdId: '',
groupName: '',
girdNameText: '所属网格',
@@ -112,7 +112,7 @@ export default {
},
mounted() {
this.current = 1
this.girdList()
// this.girdList()
this.getList()
uni.$on('nextList', () => {
this.current++
@@ -182,24 +182,24 @@ export default {
uni.navigateTo({ url: './add' })
},
girdList() {
this.$http
.post(`/app/appgirdmemberinfo/queryMyGirdListWithOut01`, null, {
params: {
size: 9999,
},
})
.then((res) => {
if (res.code == 0) {
this.myGirdList = res.data
var all = {
id: '',
girdName: '全部',
}
this.myGirdList.unshift(all)
}
})
},
// girdList() {
// this.$http
// .post(`/app/appgirdmemberinfo/queryMyGirdListWithOut01`, null, {
// params: {
// size: 9999,
// },
// })
// .then((res) => {
// if (res.code == 0) {
// this.myGirdList = res.data
// var all = {
// id: '',
// girdName: '全部',
// }
// this.myGirdList.unshift(all)
// }
// })
// },
confirm(e) {
if (this.show) {