Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos
Commits
487986ec
Commit
487986ec
authored
Jul 28, 2024
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small
parent
1c2896a6
Pipeline
#28748
passed with stages
in 13 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/service/duel/updateData.ts
src/service/duel/updateData.ts
+1
-1
src/ui/Duel/Message/PositionModal/index.tsx
src/ui/Duel/Message/PositionModal/index.tsx
+2
-2
No files found.
src/service/duel/updateData.ts
View file @
487986ec
...
...
@@ -16,7 +16,7 @@ export default async (container: Container, updateData: MsgUpdateData) => {
.
filter
((
card
)
=>
card
.
location
.
sequence
===
sequence
)
.
at
(
0
);
if
(
target
)
{
if
(
action
.
code
>
0
&&
target
.
code
===
0
)
{
if
(
action
?
.
code
>
0
&&
target
.
code
===
0
)
{
// 当本地code为0且action的code大于0时,才从db加载整个meta信息
const
newMeta
=
fetchCard
(
action
.
code
);
target
.
code
=
action
.
code
;
...
...
src/ui/Duel/Message/PositionModal/index.tsx
View file @
487986ec
...
...
@@ -108,8 +108,8 @@ export const PositionModal = () => {
footer=
{
<></>
}
>
<
div
className=
{
styles
.
container
}
>
{
positions
.
map
((
position
)
=>
(
<
Button
onClick=
{
()
=>
onSummit
(
position
)
}
>
{
positions
.
map
((
position
,
idx
)
=>
(
<
Button
key=
{
idx
}
onClick=
{
()
=>
onSummit
(
position
)
}
>
{
cardPosition
(
position
)
}
</
Button
>
))
}
...
...
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