bug修改

This commit is contained in:
helen 2024-12-24 09:31:44 +08:00
parent 5ced818619
commit cd73a82baa

View File

@ -368,7 +368,7 @@ const submitForm = () => {
form.value.location = addressvalue.value.join(',');
form.value.cover = '';
form.value.status = 1;
form.value.content = form.value.content == '<p><br></p>' ? '' : form.value.content;
notebookFormRef.value?.validate(async (valid: boolean) => {
if (valid) {
buttonLoading.value = true;