You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
595 B
27 lines
595 B
Component({
|
|
data: {
|
|
|
|
},
|
|
properties: {
|
|
associationList: {
|
|
type: Array,
|
|
value: [],
|
|
observer: function (value) {
|
|
if (value.length > 0) {
|
|
console.log(value)
|
|
}
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
navigateToAss (e) {
|
|
console.log("navigateToAss")
|
|
if (e.currentTarget.dataset.join === "0"){
|
|
this.triggerEvent("joinGroupCallBack",{partyGroupId: e.currentTarget.dataset.code})
|
|
}
|
|
wx.navigateTo({
|
|
url: `/subpages/associationNew/pages/community/community?code=${e.currentTarget.dataset.code}`
|
|
})
|
|
}
|
|
}
|
|
})
|