add
This commit is contained in:
@@ -109,6 +109,15 @@ function TRPMyInfor:initFiledsAttr()
|
||||
attr.cannotEdit = true
|
||||
attr.donotJoinKey = true
|
||||
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
|
||||
)
|
||||
@@ -182,6 +191,10 @@ function TRPMyInfor:onClickField(go)
|
||||
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||
end
|
||||
elseif el.jsonKey == "openLog" then
|
||||
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(true)
|
||||
end
|
||||
else
|
||||
getPanelAsy(
|
||||
"PanelModifyFiled",
|
||||
|
||||
Reference in New Issue
Block a user