sadais-piui 1.2.7-beta115 → 1.2.7-beta116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -413,7 +413,7 @@ export default {
413
413
  },
414
414
  getFieldValue(obj, keypath) {
415
415
  if (obj) {
416
- return keypath.split('.').reduce((prev, key) => {
416
+ return keypath.split('-').reduce((prev, key) => {
417
417
  let tmpKey = key
418
418
  if (/^\[\d+\]$/.test(key)) {
419
419
  tmpKey = tmpKey.slice(1, -1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta115",
3
+ "version": "1.2.7-beta116",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {