Merge branch 'master' of github.com:tinper-bee/bee-table

This commit is contained in:
yangchch6 2019-03-26 15:26:49 +08:00
commit 58153b98a2
7 changed files with 2589 additions and 2664 deletions

View File

@ -416,6 +416,7 @@ var TableHeader = function (_Component) {
}; };
TableHeader.prototype.componentWillUnmount = function componentWillUnmount() { TableHeader.prototype.componentWillUnmount = function componentWillUnmount() {
if (!this.table) return;
if (this.props.draggable) { if (this.props.draggable) {
this.removeDragAbleEvent(); this.removeDragAbleEvent();
} }

View File

@ -158,10 +158,10 @@ hue-6-2: #e6c07b
} }
/* 抽屉组件样式覆盖 */ /* 抽屉组件样式覆盖 */
.component-drawerc{ .component-drawerc{
position: fixed; /* position: fixed; */
top: 0; top: 0;
left: 0; left: 0;
z-index: 100000; z-index: 1!important;
width: 0; width: 0;
height: 100%; height: 100%;
} }
@ -173,6 +173,7 @@ hue-6-2: #e6c07b
top: 0; top: 0;
left: 0; left: 0;
transition: transform 300ms ease-in-out, opacity 300ms ease-in-out; transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
z-index: 2;
} }
.component-drawerc .drawer-close{ .component-drawerc .drawer-close{
position: absolute; position: absolute;
@ -196,6 +197,7 @@ hue-6-2: #e6c07b
top: 0; top: 0;
right: 0; right: 0;
height: 100%; height: 100%;
z-index: 3;
} }
.component-drawerc .drawer-top{ .component-drawerc .drawer-top{
top: 0; top: 0;

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

5237
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "bee-table", "name": "bee-table",
"version": "2.0.7", "version": "2.0.8",
"description": "Table ui component for react", "description": "Table ui component for react",
"keywords": [ "keywords": [
"react", "react",
@ -88,4 +88,4 @@
"react-dom": "^16.6.3", "react-dom": "^16.6.3",
"tinper-bee": "latest" "tinper-bee": "latest"
} }
} }

View File

@ -88,6 +88,7 @@ class TableHeader extends Component {
componentWillUnmount(){ componentWillUnmount(){
if(!this.table)return;
if (this.props.draggable){ if (this.props.draggable){
this.removeDragAbleEvent(); this.removeDragAbleEvent();
} }