mm
This commit is contained in:
@@ -11,7 +11,7 @@ function TRPNewCust:init(csObj)
|
||||
TRPNewCust.super.init(self, csObj)
|
||||
|
||||
self:setEventDelegate()
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), 132, 0)
|
||||
MyUtl.setContentView(getChild(self.transform, "PanelContent"), MyUtl.defaultTopHeight, 0)
|
||||
---@type UIScrollView
|
||||
uiobjs.scrollView = getCC(self.transform, "PanelContent", "UIScrollView")
|
||||
uiobjs.scrollView.dampenStrength = MyUtl.dampenStrength
|
||||
@@ -39,7 +39,7 @@ end
|
||||
-- 设置数据
|
||||
---@param paras _ParamTRPNewCust
|
||||
function TRPNewCust:setData(paras)
|
||||
if paras and paras.custId > 0 then
|
||||
if paras and paras.custId and paras.custId > 0 then
|
||||
self.isNewCust = false
|
||||
self.mdata = paras
|
||||
self.mdata._phoneNo = MyUtl.hidePhone(self.mdata.phoneNo)
|
||||
|
||||
Reference in New Issue
Block a user