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

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

Loading…
Cancel
Save