publish 2.0.5

This commit is contained in:
jonyshi 2019-03-20 17:41:06 +08:00
parent d260e127f6
commit 5cd21b63ce
4 changed files with 14 additions and 8 deletions

View File

@ -416,8 +416,12 @@ var TableHeader = function (_Component) {
};
TableHeader.prototype.componentWillUnmount = function componentWillUnmount() {
this.removeDragAbleEvent();
this.removeDragBorderEvent();
if (this.props.draggable) {
this.removeDragAbleEvent();
}
if (this.props.dragborder) {
this.removeDragBorderEvent();
}
};
// componentDidMount(){

4
dist/demo.js vendored
View File

@ -112528,7 +112528,9 @@
};
TableHeader.prototype.componentWillUnmount = function componentWillUnmount() {
this.removeDragAbleEvent();
if (this.props.draggable) {
this.removeDragAbleEvent();
}
this.removeDragBorderEvent();
};

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",
"version": "2.0.0-alpha.2",
"version": "2.0.5",
"description": "Table ui component for react",
"keywords": [
"react",
@ -73,8 +73,8 @@
},
"devDependencies": {
"babel-jest": "^22.0.4",
"bee-panel":"latest",
"bee-layout":"latest",
"bee-panel": "latest",
"bee-layout": "latest",
"tinper-bee": "latest",
"chai": "^3.5.0",
"console-polyfill": "~0.2.1",
@ -86,4 +86,4 @@
"react-addons-test-utils": "^15.5.0",
"react-dom": "^16.6.3"
}
}
}