Очистка после добавления
Some checks failed
Build and Push Docker Image / test (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled

This commit is contained in:
brusnitsyn
2026-01-14 09:09:52 +09:00
parent 7a10c7feba
commit 0f4ce51ab3

View File

@@ -76,7 +76,10 @@ const archiveInfoRules = {
{
required: true,
message: 'Это поле необходимо заполнить',
trigger: 'blur'
trigger: 'blur',
validator(rule, value) {
return Number(value);
},
}
]
}
@@ -133,6 +136,8 @@ const onSubmit = async (e) => {
try {
await axios.post(`/api/archive/create`, archiveInfo.value).then(res => {
open.value = false
}).then(() => {
onResetData()
})
} catch (error) {