Skip to content

Commit 63093c5

Browse files
authored
Merge pull request #361 from riba2534/master
修复昵称字符数必须>=3的限制,改为>=1
2 parents 64b47cc + 97b9c20 commit 63093c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ ValineFactory.prototype.bind = function (option) {
843843
})
844844
return;
845845
}
846-
if (defaultComment['nick'].length < 3) {
846+
if (defaultComment['nick'].length < 1) {
847847
inputs['nick'].focus();
848848
return;
849849
}

0 commit comments

Comments
 (0)