Skip to content

Commit ac8436e

Browse files
committed
fix: 修复控制台打印 a
1 parent 4922b26 commit ac8436e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.23
1+
v1.0.24

bmclapi_dashboard/static/js/index.min.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2381,22 +2381,24 @@ class Authentication {
23812381
this.username = null
23822382
this.avatar = null
23832383
this._input = {
2384-
username: app.createElement("input"),
2384+
username: app.createElement("input").setAttribute("placeholder", "用户名"),
23852385
password: app.createElement("input"),
23862386
captcha: {
23872387
image: app.createElement("img"),
23882388
input: app.createElement("input")
23892389
},
23902390
label: app.createElement("p"),
2391-
auth: app.createElement("button").setI18N("dashboard.auth.login")
2391+
auth: app.createElement("button").setI18N("dashboard.auth.login"),
2392+
forever: app.createElement("button").setAttribute("type", "checkbox")
23922393
}
23932394
this._captcha = app.createElement("div")
23942395
this._container = app.createElement("div").class("panel-auth").append(
23952396
this._input.username,
23962397
this._input.password,
23972398
this._captcha,
23982399
this._input.label,
2399-
this._input.auth
2400+
this._input.auth,
2401+
this._input.forever,
24002402
)
24012403
this._Styles = {
24022404
".panel-auth": `

core/web.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ async def __call__(
931931
if bound:
932932
break
933933
if (self._headers.get("Connection") or "keep-alive").lower() == "closed":
934-
print("a")
935934
client.close()
936935

937936

0 commit comments

Comments
 (0)