add
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
---@field popValues
|
||||
---@field donotJoinKey boolean 是否要拼接key
|
||||
---@field height numb 高度,只有在emptyspace有用
|
||||
---@field defaultText
|
||||
|
||||
---@class _ParamCellExtendFiled
|
||||
---@field showMode _FieldMode
|
||||
@@ -152,7 +153,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = uiobjs.inputLabel
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = uiobjs.inputLabel
|
||||
uiobjs.input.defaultText = attr.defaultText or uiobjs.inputLabel
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, true) -- multext
|
||||
if
|
||||
@@ -179,7 +180,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, false)
|
||||
@@ -196,7 +197,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = uiobjs.inputLabel
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = uiobjs.inputLabel
|
||||
uiobjs.input.defaultText = attr.defaultText or uiobjs.inputLabel
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, true)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
@@ -213,7 +214,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
@@ -230,7 +231,7 @@ function _cell.setElementMode(mode)
|
||||
uiobjs.Label.text = ""
|
||||
end
|
||||
if uiobjs.input then
|
||||
uiobjs.input.defaultText = ""
|
||||
uiobjs.input.defaultText = attr.defaultText or ""
|
||||
end
|
||||
_cell.enabeldObj(uiobjs.Label4, false)
|
||||
_cell.enabeldObj(uiobjs.SpriteRight, true)
|
||||
|
||||
Reference in New Issue
Block a user