This commit is contained in:
2020-07-24 22:12:55 +08:00
parent 3f114a6fca
commit 67a1f974bf
117 changed files with 14258 additions and 2325 deletions

View File

@@ -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)