diff --git a/packages/omi-mobx/index.js b/packages/omi-mobx/index.js index fcd9640cb..bc79bc067 100644 --- a/packages/omi-mobx/index.js +++ b/packages/omi-mobx/index.js @@ -1,5 +1,5 @@ import { observable, autorun } from "mobx" -import { options } from "../../src/omi" +import { options } from "omi" options.afterInstall = function (ele) { if (ele.constructor.observe) { diff --git a/packages/omi-mobx/package.json b/packages/omi-mobx/package.json index 567c28fd6..128c402b9 100644 --- a/packages/omi-mobx/package.json +++ b/packages/omi-mobx/package.json @@ -1,6 +1,6 @@ { "name": "omi-mobx", - "version": "0.2.0", + "version": "0.2.1", "description": "Omi Mobx Adapter.", "main": "index.js", "scripts": { diff --git a/packages/omi/package.json b/packages/omi/package.json index 8e1ee6ccc..6dc058b3a 100644 --- a/packages/omi/package.json +++ b/packages/omi/package.json @@ -107,7 +107,7 @@ "uglify-js": "^2.7.5", "webpack": "^4.3.0", "mobx": "^4.5.1", - "omi-mobx": "^0.2.0" + "omi-mobx": "^0.2.1" }, "greenkeeper": { "ignore": [