File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-visual-modeling" ,
3
- "version" : " 1.0.36 " ,
3
+ "version" : " 1.0.37 " ,
4
4
"description" : " 一个基于React的数据可视化建模的DAG图,适用于UML,数据库建模,数据仓库建设等业务" ,
5
5
"main" : " dist/index.js" ,
6
6
"pack" : " pack/index.js" ,
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ export default class TableNode extends Node {
93
93
94
94
// 记录状态
95
95
this . status = 'expand' ;
96
- // 改变icon状态
97
- $ ( this . dom ) . find ( '.table-build-icon-xiala' ) . removeClass ( 'collapse' ) ;
96
+ // 改变伸缩状态
97
+ $ ( this . dom ) . removeClass ( 'collapse' ) ;
98
98
}
99
99
100
100
_collapse ( oldEdges ) {
@@ -110,8 +110,8 @@ export default class TableNode extends Node {
110
110
} ) ;
111
111
// 记录状态
112
112
this . status = 'collapse' ;
113
- // 改变icon状态
114
- $ ( this . dom ) . find ( '.table-build-icon-xiala' ) . addClass ( 'collapse' ) ;
113
+ // 改变伸缩状态
114
+ $ ( this . dom ) . addClass ( 'collapse' ) ;
115
115
116
116
// 生成新线段,并去重
117
117
let newEdges = [ ] ;
Original file line number Diff line number Diff line change 10
10
border : 1px solid #5A5A5A ;
11
11
border-radius : 4px ;
12
12
color : #fff ;
13
+ background : #252525 ;
14
+ & .collapse {
15
+ .title {
16
+ border-bottom : none ;
17
+ }
18
+ }
13
19
.title {
14
20
position : relative ;
15
- background : #252525 ;
16
21
border-bottom : 1px solid #5A5A5A ;
17
22
padding : 0 50px 0 15px ;
18
23
height : 30px ;
54
59
}
55
60
.table-build-icon-xiala {
56
61
display : inline-block ;
57
- & .collapse {
58
- /* todo: 需要一个新icon */
59
- }
60
62
}
61
63
}
62
64
}
68
70
line-height : 24px ;
69
71
align-items : center ;
70
72
display : flex ;
71
- background : #252525 ;
72
73
& :hover {
73
74
background : rgba (216 , 216 , 216 , 0.06 );
74
75
.point {
You can’t perform that action at this time.
0 commit comments