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
02502499
Commit
02502499
authored
Jul 05, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ss
parent
73f2ee1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
PolygonSystemCom.tsx
src/canvasCom/polygonSystemCom/PolygonSystemCom.tsx
+1
-2
polygonAxiosSystem.ts
src/canvasCom/polygonSystemCom/polygonAxiosSystem.ts
+0
-0
polygonSystem.stories.tsx
src/canvasStories/polygonSystem.stories.tsx
+1
-1
No files found.
src/canvasCom/
canvasTest
Com/PolygonSystemCom.tsx
→
src/canvasCom/
polygonSystem
Com/PolygonSystemCom.tsx
View file @
02502499
import
React
from
'react'
;
import
"./canvasTestCom.less"
;
import
{
PolygonAxiosSystem
}
from
"./polygonAxiosSystem"
;
interface
TestProps
{
/**设置主题色 */
...
...
@@ -8,7 +7,7 @@ interface TestProps {
test
?:
string
;
}
export
const
CanvasTest
Com
=
(
pros
:
TestProps
)
=>
{
export
const
PolygonSystem
Com
=
(
pros
:
TestProps
)
=>
{
const
polygonAxiosSystem
=
new
PolygonAxiosSystem
(
100
,
//坐标系统原点在弹窗中的x坐标
200
,
//坐标系统原点在弹窗中的y坐标
...
...
src/canvasCom/
canvasTest
Com/polygonAxiosSystem.ts
→
src/canvasCom/
polygonSystem
Com/polygonAxiosSystem.ts
View file @
02502499
File moved
src/canvasStories/polygon
Axios
System.stories.tsx
→
src/canvasStories/polygonSystem.stories.tsx
View file @
02502499
import
React
from
'react'
;
import
{
PolygonSystemCom
}
from
'../canvasCom/
canvasTest
Com/PolygonSystemCom.tsx'
;
import
{
PolygonSystemCom
}
from
'../canvasCom/
polygonSystem
Com/PolygonSystemCom.tsx'
;
export
default
{
component
:
PolygonSystemCom
,
title
:
'Canvas组件/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