modify
This commit is contained in:
@@ -207,7 +207,7 @@ function TRPNewCust:setElementMode(el)
|
||||
local boxcollider = el:GetComponent("BoxCollider")
|
||||
local ButtonReset = getCC(el.transform, "ButtonReset", "MyInputReset")
|
||||
|
||||
if (not self.isNewCust) and (el.jsonKey == "taskId" or el.jsonKey == "phoneNo") then
|
||||
if (not self.isNewCust) and (el.jsonKey == "taskId" or el.jsonKey == "_phoneNo") then
|
||||
boxcollider.enabled = false
|
||||
else
|
||||
boxcollider.enabled = true
|
||||
|
||||
@@ -329,7 +329,7 @@ function TRPNewOrder:setElementMode(el)
|
||||
ButtonReset.disabled = (not self.isNewOrder)
|
||||
end
|
||||
|
||||
if el.jsonKey == "taskId" or el.jsonKey == "phoneNo" then
|
||||
if el.jsonKey == "taskId" or el.jsonKey == "_phoneNo" then
|
||||
boxcollider.enabled = false
|
||||
if ButtonReset then
|
||||
ButtonReset.disabled = true
|
||||
|
||||
Reference in New Issue
Block a user