Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
06d9aa06
Commit
06d9aa06
authored
Jul 01, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 几处bug
parent
f7c36964
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
YHApplyActivityAlert.swift
...s/Community(社区)/Activity(活动)/V/YHApplyActivityAlert.swift
+3
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHApplyActivityAlert.swift
View file @
06d9aa06
...
@@ -594,6 +594,7 @@ extension YHApplyActivityAlert: UITextFieldDelegate {
...
@@ -594,6 +594,7 @@ extension YHApplyActivityAlert: UITextFieldDelegate {
}
else
if
textField
==
applyNumberTextField
{
}
else
if
textField
==
applyNumberTextField
{
if
!
string
.
isNumeric
{
if
!
string
.
isNumeric
{
YHHUD
.
flash
(
message
:
"请输入数字"
)
YHHUD
.
flash
(
message
:
"请输入数字"
)
applyNumber
=
1
updateButtonUI
()
updateButtonUI
()
return
false
return
false
}
}
...
@@ -602,10 +603,12 @@ extension YHApplyActivityAlert: UITextFieldDelegate {
...
@@ -602,10 +603,12 @@ extension YHApplyActivityAlert: UITextFieldDelegate {
if
let
item
=
Int
(
newText
),
item
>
10
{
if
let
item
=
Int
(
newText
),
item
>
10
{
textField
.
text
=
"10"
textField
.
text
=
"10"
YHHUD
.
flash
(
message
:
"最多添加10人"
)
YHHUD
.
flash
(
message
:
"最多添加10人"
)
applyNumber
=
10
updateButtonUI
()
updateButtonUI
()
return
false
return
false
}
else
if
let
item
=
Int
(
newText
),
item
<
1
{
}
else
if
let
item
=
Int
(
newText
),
item
<
1
{
textField
.
text
=
"1"
textField
.
text
=
"1"
applyNumber
=
1
YHHUD
.
flash
(
message
:
"最少添加1人"
)
YHHUD
.
flash
(
message
:
"最少添加1人"
)
updateButtonUI
()
updateButtonUI
()
return
false
return
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment