mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-09-08 10:23:42 +00:00
📝 Docs: 更新到 nonepress 3.8.0 (#4126)
This commit is contained in:
@@ -49,8 +49,8 @@ export function Form({
|
||||
data
|
||||
.filter((item) => item.tags.length > 0)
|
||||
.map((ele) => ele.tags)
|
||||
.flat()
|
||||
)
|
||||
.flat(),
|
||||
),
|
||||
)
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
@@ -63,7 +63,7 @@ export function Form({
|
||||
|
||||
const handleNextStep = () => {
|
||||
const currentStepNames = formItems[currentStep].items.map(
|
||||
(item) => item.name
|
||||
(item) => item.name,
|
||||
);
|
||||
if (currentStepNames.every((name) => result[name])) {
|
||||
setCurrentStep(currentStep + 1);
|
||||
|
||||
Reference in New Issue
Block a user