同步加入圈子和创建圈子
parent
0b79079926
commit
d8504b8a13
|
|
@ -43,7 +43,7 @@ function M:init(url)
|
|||
self.familyType.selectedIndex = 1
|
||||
self:ConnetFamily(1, groups, true)
|
||||
else
|
||||
self:JoinFamily()
|
||||
self:JoinFamily(true)
|
||||
end
|
||||
end)
|
||||
-------绑定成员战绩按钮
|
||||
|
|
@ -72,17 +72,22 @@ function M:ShareWx()
|
|||
familyInviteFamilyView:Show()
|
||||
end
|
||||
|
||||
function M:CreateFamily()
|
||||
function M:CreateFamily(frist)
|
||||
self.familyType.selectedIndex = 3
|
||||
self.lastType = 1
|
||||
if not frist then
|
||||
self.lastType = 1
|
||||
end
|
||||
self._view:GetController('createOrJoin').selectedIndex = 0
|
||||
self._child_familyJoinAndCreate = FamilyJoinAndCreate.new(self)
|
||||
end
|
||||
|
||||
function M:JoinFamily()
|
||||
function M:JoinFamily(frist)
|
||||
self.familyType.selectedIndex = 3
|
||||
self.lastType = 1
|
||||
if not frist then
|
||||
self.lastType = 1
|
||||
end
|
||||
self._view:GetController('createOrJoin').selectedIndex = 1
|
||||
self._child_familyJoinAndCreate = FamilyJoinAndCreate.new(self)
|
||||
end
|
||||
|
||||
function M:PlayEdit()
|
||||
|
|
|
|||
Loading…
Reference in New Issue