mm
This commit is contained in:
@@ -97,6 +97,21 @@ function TRPMyInfor:initFiledsAttr()
|
||||
attr.cannotEdit = true
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
DBUser.isWhiteUser(
|
||||
Prefs.getUserName(),
|
||||
function(iswhite)
|
||||
if iswhite then
|
||||
attr = {}
|
||||
attr.attrName = "关闭日志"
|
||||
attr.id = "closeLog"
|
||||
attr.attrType = DBCust.FieldType.text
|
||||
attr.ifMust = 0
|
||||
attr.cannotEdit = true
|
||||
attr.donotJoinKey = true
|
||||
table.insert(self.baseFiledsAttr, attr)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
-- 设置数据
|
||||
@@ -163,6 +178,10 @@ function TRPMyInfor:onClickField(go)
|
||||
else
|
||||
getPanelAsy("PanelBindPhone", onLoadedPanelTT, {phoneNo = self.mdata.phoneNo})
|
||||
end
|
||||
elseif el.jsonKey == "closeLog" then
|
||||
if ReporterMessageReceiver.self and ReporterMessageReceiver.self.gameObject then
|
||||
ReporterMessageReceiver.self.gameObject:SetActive(false)
|
||||
end
|
||||
else
|
||||
getPanelAsy(
|
||||
"PanelModifyFiled",
|
||||
|
||||
Reference in New Issue
Block a user