Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg18_tianci
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
dg18_tianci
Commits
b9a9a1e9
Commit
b9a9a1e9
authored
May 30, 2026
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复图片选项下报错的问题
parent
50ca08f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dg18_tianci.ts
assets/dg18_tianci/scene/dg18_tianci.ts
+6
-6
No files found.
assets/dg18_tianci/scene/dg18_tianci.ts
View file @
b9a9a1e9
...
...
@@ -394,17 +394,17 @@ export default class SceneComponent extends MyCocosSceneComponent {
node
.
y
=
targetData
.
pos
.
y
;
let
text
=
pg
.
view
.
find
(
node
,
'
text
'
);
text
.
active
=
true
;
text
&&
(
text
.
active
=
true
)
;
let
text1
=
pg
.
view
.
find
(
node
,
'
text_1
'
);
let
text2
=
pg
.
view
.
find
(
node
,
'
text_2
'
);
text1
.
active
=
false
;
text2
.
active
=
false
;
text
.
parent
.
scale
=
1
/
this
.
layout_items
.
scale
;
text1
&&
text1
.
active
=
false
;
text
1
&&
text
2
.
active
=
false
;
text
&&
text
.
parent
.
scale
=
1
/
this
.
layout_items
.
scale
;
pg
.
view
.
setColor
(
text
,
'
#1D8B38
'
)
text
.
getComponent
(
cc
.
Label
).
fontSize
=
targetData
.
fontSize
;
text
.
getComponent
(
cc
.
Label
).
overflow
=
cc
.
Label
.
Overflow
.
NONE
;
text
&&
text
.
getComponent
(
cc
.
Label
).
fontSize
=
targetData
.
fontSize
;
text
&&
text
.
getComponent
(
cc
.
Label
).
overflow
=
cc
.
Label
.
Overflow
.
NONE
;
let
item
=
pg
.
view
.
clone
(
this
.
ani_star
);
node
.
addChild
(
item
);
...
...
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