Skip to content

Commit 17c6842

Browse files
committed
Merge branch 'hotfix/hashmapkey-not-support-point' into develop
2 parents c34a2dc + 4a85cd1 commit 17c6842

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.3.3](https://github.com/chenquincy/vue-dynamic-form-component/compare/v2.3.2...v2.3.3) (2019-10-30)
6+
7+
8+
### Bug Fixes
9+
10+
* key of hashmap not support "." ([28bff6f](https://github.com/chenquincy/vue-dynamic-form-component/commit/28bff6f))
11+
12+
13+
514
## [2.3.2](https://github.com/chenquincy/vue-dynamic-form-component/compare/v2.3.1...v2.3.2) (2019-10-28)
615

716

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-dynamic-form-component",
3-
"version": "2.3.2",
3+
"version": "2.3.3",
44
"license": "MIT",
55
"author": {
66
"email": "mail@quincychen.cn",

packages/dynamic-form-item/form-item.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ export default {
177177
hashMapKey: ''
178178
}
179179
},
180+
watch: {
181+
hashMapKey (val) {
182+
// el-form-item's prop not support "."
183+
if (val.indexOf('.') !== -1) {
184+
this.hashMapKey = this.hashMapKey.replace(/\./g, '')
185+
}
186+
}
187+
},
180188
created () {},
181189
methods: {
182190
isComplexType,

0 commit comments

Comments
 (0)