diff --git a/CHANGELOG.md b/CHANGELOG.md index a8d73e8c1..fce47f7cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ # 版本更新日志 -d41a622ee8a3c5eba1d690d0617185733609a128 ## v1.1.0 - Break Change diff --git a/examples/pages/InputPage.jsx b/examples/pages/InputPage.jsx index 1fec64183..40d48c084 100644 --- a/examples/pages/InputPage.jsx +++ b/examples/pages/InputPage.jsx @@ -16,8 +16,6 @@ class Page extends Component { { this.focusInput = ele; }} type="text" placeholder="请输入" /> - - { this.focusInput.input.input.focus(); }}>click to focus the first input diff --git a/package.json b/package.json index 821f1e874..7642b6dea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zarm", - "version": "1.1.0", + "version": "1.1.1", "description": "基于 React 的移动端UI库", "tags": [ "zarm", @@ -33,7 +33,7 @@ "start": "npm run deploy && npm run dev", "clean": "rm -rf lib && rm -rf dist", "dev": "webpack-dev-server --config scripts/webpack/config.dev.js", - "build:lib": "babel components --out-dir lib --presets=env,react,stage-0", + "build:lib": "babel components --out-dir lib --presets=env,react,stage-0 --ignore 'components/**/__tests__'", "build:umd": "webpack --config scripts/webpack/config.umd.js && NODE_ENV=production webpack --config scripts/webpack/config.umd.js", "build": "npm run clean && npm run build:lib && npm run build:umd", "deploy:build": "rm -rf assets && webpack --config scripts/webpack/config.site.js",