代码格式修复
This commit is contained in:
@@ -248,7 +248,8 @@ const createCategory = async () => {
|
||||
await createCategoryApi({
|
||||
name: newCategory.value.name,
|
||||
slug: newCategory.value.slug || newCategory.value.name,
|
||||
description: newCategory.value.description || ''
|
||||
description: newCategory.value.description || '',
|
||||
sortOrder: 0
|
||||
})
|
||||
toast.showToast('分类创建成功', 'success')
|
||||
const createdName = newCategory.value.name
|
||||
|
||||
Reference in New Issue
Block a user