From 9d975b5effe7a9718f17f15e235889df363e6e8d Mon Sep 17 00:00:00 2001 From: sun ao Date: Wed, 27 Mar 2019 13:31:34 +0800 Subject: [PATCH 1/5] fix[Mock]: add xhr.responseType (#1779) --- src/mock/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mock/index.js b/src/mock/index.js index f22c762f..a6ab5f14 100644 --- a/src/mock/index.js +++ b/src/mock/index.js @@ -11,6 +11,7 @@ Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send Mock.XHR.prototype.send = function() { if (this.custom.xhr) { this.custom.xhr.withCredentials = this.withCredentials || false + this.custom.xhr.responseType = this.responseType } this.proxy_send(...arguments) } From 9a5c404ef8d1b24856f5a48266d0545895c253d2 Mon Sep 17 00:00:00 2001 From: zhu yu Date: Wed, 27 Mar 2019 16:18:30 +0900 Subject: [PATCH 2/5] docs: fix typo (#1782) i18 -> i18n --- README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index b1fa5c9f..18d4aca3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -30,7 +30,7 @@ ## 简介 -[vue-element-admin](http://panjiachen.github.io/vue-element-admin) 是一个后台集成解决方案,它基于 [vue](https://github.com/vuejs/vue) 和 [element](https://github.com/ElemeFE/element)。它使用了最新的前端技术栈,内置了 i18 国际化解决方案,动态路由,权限验证,提炼了典型的业务模型,提供了丰富的功能组件,它可以帮助你快速搭建企业级中后台产品原型。相信不管你的需求是什么,本项目都能帮助到你。 +[vue-element-admin](http://panjiachen.github.io/vue-element-admin) 是一个后台集成解决方案,它基于 [vue](https://github.com/vuejs/vue) 和 [element](https://github.com/ElemeFE/element)。它使用了最新的前端技术栈,内置了 i18n 国际化解决方案,动态路由,权限验证,提炼了典型的业务模型,提供了丰富的功能组件,它可以帮助你快速搭建企业级中后台产品原型。相信不管你的需求是什么,本项目都能帮助到你。 **[v4.0](https://github.com/PanJiaChen/vue-element-admin/tree/v4.0) 已经进入 beta 测试阶段。 它基于 vue-cli@3 进行构建,优化了大量代码(尤其是权限和 mock),并且增加了不少新特性。欢迎使用并提出建议。** From 77030050135b2483890bf4ed2ee636254477dee3 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 28 Mar 2019 11:43:36 +0800 Subject: [PATCH 3/5] perf: remove redundant code --- src/views/example/list.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/views/example/list.vue b/src/views/example/list.vue index 59f6ee6e..e90d3443 100644 --- a/src/views/example/list.vue +++ b/src/views/example/list.vue @@ -94,14 +94,6 @@ export default { this.total = response.data.total this.listLoading = false }) - }, - handleSizeChange(val) { - this.listQuery.limit = val - this.getList() - }, - handleCurrentChange(val) { - this.listQuery.page = val - this.getList() } } } From 20f61507419283a812042122c2d3bb4946f81075 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 28 Mar 2019 14:15:32 +0800 Subject: [PATCH 4/5] [release] 3.11.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d2748c5a..86c334f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-element-admin", - "version": "3.10.0", + "version": "3.11.0", "description": "A magical vue admin. Typical templates for enterprise applications. Newest development stack of vue. Lots of awesome features", "author": "Pan ", "license": "MIT", From 96d3cfa2158235ae9ad7d1977f8956a5647792e5 Mon Sep 17 00:00:00 2001 From: MaYuanhai <414199639@qq.com> Date: Fri, 29 Mar 2019 12:55:07 +0800 Subject: [PATCH 5/5] perf[Login]: optimize input focus interaction (#1798) --- src/views/login/index.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index d74e027a..1d43a2ab 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -13,6 +13,7 @@ { + this.$refs.password.focus() + }) }, handleLogin() { this.$refs.loginForm.validate(valid => {