add
This commit is contained in:
@@ -109,6 +109,15 @@ function TRPMyInfor:initFiledsAttr()
|
|||||||
attr.cannotEdit = true
|
attr.cannotEdit = true
|
||||||
attr.donotJoinKey = true
|
attr.donotJoinKey = true
|
||||||
table.insert(self.baseFiledsAttr, attr)
|
table.insert(self.baseFiledsAttr, attr)
|
||||||
|
|
||||||
|
attr = {}
|
||||||
|
attr.attrName = "打开日志"
|
||||||
|
attr.id = "openLog"
|
||||||
|
attr.attrType = DBCust.FieldType.text
|
||||||
|
attr.ifMust = 0
|
||||||
|
attr.cannotEdit = true
|
||||||
|
attr.donotJoinKey = true
|
||||||
|
table.insert(self.baseFiledsAttr, attr)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
@@ -182,6 +191,10 @@ function TRPMyInfor:onClickField(go)
|
|||||||
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||||
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
|
elseif el.jsonKey == "openLog" then
|
||||||
|
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||||
|
ReporterMessageReceiver.self.gameObject:SetActive(true)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
getPanelAsy(
|
getPanelAsy(
|
||||||
"PanelModifyFiled",
|
"PanelModifyFiled",
|
||||||
|
|||||||
Reference in New Issue
Block a user