Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wangjin-front-end
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
张媛
wangjin-front-end
Commits
2be9f418
Commit
2be9f418
authored
Jul 19, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工程目录修改
parent
8c35ef43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
carouselCom.tsx
src/canvasCom/carouselCom/carouselCom.tsx
+1
-0
RichTextCom.tsx
src/canvasCom/richTextCom/RichTextCom.tsx
+1
-0
No files found.
src/canvasCom/carouselCom/carouselCom.tsx
View file @
2be9f418
...
...
@@ -30,6 +30,7 @@ export const CarouselCom = (pros:TestProps)=>{
window
.
stage
.
removeAllChildren
();
const
{
carouselItem
,
itemWidth
,
itemHeight
,
vertical
,
num
,
k
}
=
pros
const
carouseCom
=
new
CarouselComponent
(
carouselItem
,
itemWidth
,
itemHeight
,
vertical
,
num
,
k
);
//@ts-ignore
carouseCom
.
position
.
set
(
pros
.
x
,
pros
.
y
)
window
.
stage
.
addChild
(
carouseCom
);
carouseCom
.
updateData
(
pros
.
data
);
...
...
src/canvasCom/richTextCom/RichTextCom.tsx
View file @
2be9f418
...
...
@@ -15,6 +15,7 @@ export const RichTextCom = (args:TestProps)=>{
isExistStage
(()
=>
{
window
.
stage
.
removeAllChildren
();
const
richText
=
new
RichText
();
//@ts-ignore
richText
.
position
.
set
(
args
.
x
,
args
.
y
)
richText
.
text
=
args
.
textArr
;
window
.
stage
.
addChild
(
richText
);
...
...
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