刘翔宇-旅管家 4 years ago
parent 5a2348db2d
commit 466542120e

@ -60,7 +60,7 @@
}
}
const validatePassword = (rule, value, callback) => {
if (value.length < 6) {
if (value.length == 0) {
callback(new Error('密码输入错误'))
} else {
callback()
@ -115,7 +115,7 @@
var that = this;
let height = this.$refs.formBox.offsetHeight; //100
that.formHeight = height;
that.marginTop = (that.windowHeight - height*1.5) / 2;
that.marginTop = (that.windowHeight - height * 1.5) / 2;
// <!--window.onresizemounted-->
window.onresize = () => {
return (() => {

Loading…
Cancel
Save