Skip to content

Commit 6740205

Browse files
author
ztree
committed
03 作业
1 parent 6282deb commit 6740205

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

page_src/03/test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function initDom() {
3434
div = document.createElement('div');
3535
label = document.createElement('label');
3636
input = document.createElement('input');
37-
input.setAttribute('type', 'text');
37+
input.setAttribute('type', 'password');
3838
input.id = 'password';
3939
label.setAttribute('for', 'password');
4040
label.innerText = '密码:';
@@ -66,4 +66,3 @@ function initDom() {
6666
});
6767

6868
}
69-

0 commit comments

Comments
 (0)