From b788476f6fb0c170b447cde8fb71a0724bbfc7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Tue, 20 Sep 2016 21:19:50 -0500 Subject: [PATCH] bug fixes/add resource download url (#96) --- CHANGELOG.md | 8 +++++--- examples/docs/quickstart.md | 2 +- examples/pages/resource.vue | 6 +++--- package.json | 2 +- packages/dialog/package.json | 2 +- packages/message-box/package.json | 2 +- packages/message-box/src/main.vue | 2 +- packages/select/src/select.vue | 1 + 8 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce90c94c24b..928b0d50384 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - 修复 丢失的组件 css 文件 - 修复 Table 在 Safari 下边框没对齐 - 修复 TimePicker 图标样式被默认图标样式覆盖 +- 修复 在 mounted 钩子函数中改变 Select 绑定值不生效的问题 +- 修复 在多个依次出现的 Dialog 或 Message Box 全部关闭后页面有几率不可滚动的问题 #### 非兼容性更新 - Select 组件样式的 `display` 属性默认值修改为 `block` @@ -42,11 +44,11 @@ #### 非兼容性更新 - Menu 组件 `mode` 属性默认值修改为 `vertical` -- Progress 组件升级,增加环形进度条的类型,以及增加了诸多属性,详细请查阅文档。 -- Popover 现在可以通过 slot 指定 reference。 +- Progress 组件升级,增加环形进度条的类型,以及增加了诸多属性,详细请查阅文档 +- Popover 现在可以通过 slot 指定 reference ### 1.0.0-rc.1 *2016-08-30* -Element 1.0.0-rc.1 发布。 +Element 1.0.0-rc.1 发布 diff --git a/examples/docs/quickstart.md b/examples/docs/quickstart.md index a4cd31b2536..f3c456d6762 100644 --- a/examples/docs/quickstart.md +++ b/examples/docs/quickstart.md @@ -5,7 +5,7 @@ element 是一套 Vue.js 后台组件库,它能够帮助你更轻松更快速 ### 安装 ```bash -$ npm install element-ui -S +$ npm install element-ui@next -S ``` ### 注册组件 diff --git a/examples/pages/resource.vue b/examples/pages/resource.vue index 3da0fed0cfc..43b72a48079 100644 --- a/examples/pages/resource.vue +++ b/examples/pages/resource.vue @@ -87,7 +87,7 @@

Axure Components

通过在 Axure 中导入 Element 组件库,可以在交互设计阶段方便地调用常用的组件

- 下载 + 下载
  • @@ -95,7 +95,7 @@

    Sketch Template

    从 Element Template 快速调用常用组件,在提升设计效率的同时,保证统一的视觉风格

    - 下载 + 下载
  • @@ -103,7 +103,7 @@

    组件交互文档

    进一步查看 Element 交互文档,从一个较为微观的角度详细地了解各个组件的交互细节

    - 下载 + 下载
  • diff --git a/package.json b/package.json index 6897db0daa4..891ab901a24 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "vue": "^2.0.0-rc.6", "vue-loader": "^9.4.2", "vue-markdown-loader": "^0.4.0", - "vue-popup": "^0.2.3", + "vue-popup": "^0.2.4", "vue-router": "^2.0.0-beta.2", "webpack": "^1.13.2", "webpack-dev-server": "^1.15.1", diff --git a/packages/dialog/package.json b/packages/dialog/package.json index 4c2aa44b6f2..7e34c64a864 100644 --- a/packages/dialog/package.json +++ b/packages/dialog/package.json @@ -12,6 +12,6 @@ "author": "elemefe", "license": "MIT", "devDependencies": { - "vue-popup": "^0.2.3" + "vue-popup": "^0.2.4" } } diff --git a/packages/message-box/package.json b/packages/message-box/package.json index 3f70dd8542f..9b107a8ac83 100644 --- a/packages/message-box/package.json +++ b/packages/message-box/package.json @@ -12,6 +12,6 @@ "author": "elemefe", "license": "MIT", "dependencies": { - "vue-popup": "^0.2.3" + "vue-popup": "^0.2.4" } } diff --git a/packages/message-box/src/main.vue b/packages/message-box/src/main.vue index 047e6479869..10273265f34 100644 --- a/packages/message-box/src/main.vue +++ b/packages/message-box/src/main.vue @@ -79,7 +79,7 @@ this.onClose && this.onClose(); - if (this.modal) { + if (this.modal && this.bodyOverflow !== 'hidden') { document.body.style.overflow = this.bodyOverflow; } this.opened = false; diff --git a/packages/select/src/select.vue b/packages/select/src/select.vue index 02a90e54ee4..8edf4512254 100644 --- a/packages/select/src/select.vue +++ b/packages/select/src/select.vue @@ -237,6 +237,7 @@ this.inputLength = 20; } } else { + this.valueChangeBySelected = true; this.$emit('input', val.value); this.$emit('change', val.value); }