Shamrock: fix #117

This commit is contained in:
WhiteChi 2023-12-19 01:13:39 +08:00
parent 6ee5ceb321
commit 741d2c7a84

View File

@ -278,9 +278,7 @@ private fun APIInfoCard(
text = authToken, text = authToken,
hint = "请填写鉴权token", hint = "请填写鉴权token",
error = "输入的参数不合法", error = "输入的参数不合法",
checker = { checker = { true },
it.length in 0 .. 36
},
confirm = { confirm = {
ShamrockConfig.setToken(ctx, authToken.value) ShamrockConfig.setToken(ctx, authToken.value)
AppRuntime.log("设置鉴权Token为[${authToken.value}]。") AppRuntime.log("设置鉴权Token为[${authToken.value}]。")