This commit is contained in:
dekun
2026-05-30 11:52:21 +08:00
parent fd5e333daf
commit 4cd5a48dc1
9 changed files with 298 additions and 16 deletions
+9
View File
@@ -45,6 +45,15 @@ class ServiceForm(FlaskForm):
validators=[Optional(), NumberRange(min=-10**6, max=10**6)],
default=0,
)
embed_kind = SelectField(
"嵌入类型",
choices=[
("", "普通(直接打开路径)"),
("hub", "复盘中控(云端 hub,需 embed-auth 登录)"),
],
default="",
validators=[Optional()],
)
submit = SubmitField("保存")
def validate_path(self, field):