Skip to content

Commit

Permalink
omim - use omi v6.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Jul 2, 2019
1 parent ad0a38d commit 93025c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/omim/demos/scroll/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"less-loader": "^4.1.0",
"mini-css-extract-plugin": "^0.4.5",
"node-sass": "^4.12.0",
"omi": "^6.6.7",
"omi": "^6.6.8",
"omio": "latest",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"resolve-url-loader": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/omim/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"material-design"
],
"dependencies": {
"omi": "^6.6.7"
"omi": "^6.6.8"
},
"author": "dntzhang <dntzhang@qq.com>",
"license": "MIT",
Expand Down
6 changes: 2 additions & 4 deletions packages/omim/src/scroll/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ export default class Scroll extends WeElement<Props, {}> {
}

installed() {
//@ts-ignore
var target = this._host.firstChild
var target = this.rootNode.firstChild
new PhyScroll({
//@ts-ignore
touch: this._host,
touch: this.rootNode,
vertical: this.props.vertical === false ? false : true,
scroll: target,
min: this.props.min,
Expand Down

0 comments on commit 93025c0

Please sign in to comment.