Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
168f7314
authored
Jul 07, 2025
by
pidan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复创建战队闪退的问题
parent
55c3b50b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
Module/GDFightTeamModule/GDFightTeamModule/Features/FightTeamCreate/View/PriceView/GDFightTeamCreatePriceView.swift
Module/GDFightTeamModule/GDFightTeamModule/Features/FightTeamCreate/View/PriceView/GDFightTeamCreatePriceView.swift
View file @
168f7314
...
@@ -535,20 +535,20 @@ class GDFightTeamCreatePriceView: BaseView {
...
@@ -535,20 +535,20 @@ class GDFightTeamCreatePriceView: BaseView {
if
diamondFirst
{
if
diamondFirst
{
if
let
richRange
=
richRange
{
if
let
richRange
=
richRange
{
let
rich
=
NSRange
.
init
(
range
:
richRange
,
in
:
s
tr
)
let
rich
=
NSRange
.
init
(
range
:
richRange
,
in
:
originS
tr
)
attr
.
insert
(
richIconAttr
,
at
:
rich
.
location
)
attr
.
insert
(
richIconAttr
,
at
:
rich
.
location
)
}
}
if
let
diamondRange
=
diamondRange
{
if
let
diamondRange
=
diamondRange
{
let
diamond
=
NSRange
.
init
(
range
:
diamondRange
,
in
:
s
tr
)
let
diamond
=
NSRange
.
init
(
range
:
diamondRange
,
in
:
originS
tr
)
attr
.
insert
(
diamondIconAttr
,
at
:
diamond
.
location
)
attr
.
insert
(
diamondIconAttr
,
at
:
diamond
.
location
)
}
}
}
else
{
}
else
{
if
let
diamondRange
=
diamondRange
{
if
let
diamondRange
=
diamondRange
{
let
diamond
=
NSRange
.
init
(
range
:
diamondRange
,
in
:
s
tr
)
let
diamond
=
NSRange
.
init
(
range
:
diamondRange
,
in
:
originS
tr
)
attr
.
insert
(
diamondIconAttr
,
at
:
diamond
.
location
)
attr
.
insert
(
diamondIconAttr
,
at
:
diamond
.
location
)
}
}
if
let
richRange
=
richRange
{
if
let
richRange
=
richRange
{
let
rich
=
NSRange
.
init
(
range
:
richRange
,
in
:
s
tr
)
let
rich
=
NSRange
.
init
(
range
:
richRange
,
in
:
originS
tr
)
attr
.
insert
(
richIconAttr
,
at
:
rich
.
location
)
attr
.
insert
(
richIconAttr
,
at
:
rich
.
location
)
}
}
}
}
...
...
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