Skip to content

Commit

Permalink
fix: 🐛border 颜色默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjone committed May 12, 2023
1 parent ad6aa3e commit 8e559a5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion demo/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function onExpand() {
const expandAll = ref(false);
const colors = ['red', 'blue', 'green', 'yellow', 'pink', 'orange'];
const borderColor = ref('black');
const borderColor = ref('');
function onChangeBorderColor() {
borderColor.value = colors[Math.floor(Math.random() * colors.length)];
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/column/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
display: inline-block;
position: relative;
box-sizing: border-box;
border-right: 1px solid;
border-right: 1px solid #e5e5e5;

&:nth-last-child(1) {
border-right: 0px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/GanttHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ onMounted(updateHeaderHeight);
text-align: center;
position: relative;
box-sizing: border-box;
border-bottom: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid #e5e5e5;
border-right: 1px solid #e5e5e5;
font-size: 14px;
background-color: #eca710;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function onDblClick() {
width: 100%;
position: absolute;
overflow: hidden;
border-bottom: 1px solid;
border-bottom: 1px solid #e5e5e5;
box-sizing: border-box;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/TableHeaderTh.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ onResizeTableColumn(headerRef, {
text-align: center;
position: relative;
box-sizing: border-box;
border-bottom: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid #e5e5e5;
border-right: 1px solid #e5e5e5;
padding: 0 12px;
font-size: 14px;
pointer-events: none;
Expand Down
1 change: 1 addition & 0 deletions src/components/root/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ console.log('.....root', getCurrentInstance());
position: relative;
width: 100%;
height: 100%;
border: 1px solid #e5e5e5;
}
.xg-root-dragging {
Expand Down

0 comments on commit 8e559a5

Please sign in to comment.