|
@@ -159,9 +159,9 @@
|
|
placeholder="请输入邮编"></el-input>
|
|
placeholder="请输入邮编"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <el-button @click="onCancel">取 消</el-button>
|
|
|
|
<el-button type="primary"
|
|
<el-button type="primary"
|
|
@click="onSubmit('accountForm')">确 定</el-button>
|
|
@click="onSubmit('accountForm')">确 定</el-button>
|
|
|
|
+ <el-button @click="onCancel">取 消</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -340,6 +340,13 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ let isError = document.getElementsByClassName('is-error')
|
|
|
|
+ isError[0].scrollIntoView({
|
|
|
|
+ block: 'center',
|
|
|
|
+ behavior: 'smooth',
|
|
|
|
+ })
|
|
|
|
+ })
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
});
|
|
});
|