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
|
@@ -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
|
-
|
|
262
|
+
if (JSON.stringify(Object) != "{}") {
|
|
263
|
+
this.scrollToItem(Object);
|
|
264
|
+
}
|
|
262
265
|
resolve({ result: validate, validateArray: Object });
|
|
263
266
|
});
|
|
264
267
|
});
|