meixioacomponent 0.2.15 → 0.2.16

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meixioacomponent",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -257,8 +257,11 @@ export default {
257
257
  checkValidate() {
258
258
  return new Promise((resolve, reject) => {
259
259
  this.$refs.form.validate((validate, Object) => {
260
+ console.log(Object);
260
261
  // 滚动至未填写的项目中
261
- this.scrollToItem(Object);
262
+ if (JSON.stringify(Object) != "{}") {
263
+ this.scrollToItem(Object);
264
+ }
262
265
  resolve({ result: validate, validateArray: Object });
263
266
  });
264
267
  });