提交 ea94ff10 authored 作者: matian's avatar matian

updates

上级 230ab2d1
...@@ -3,7 +3,7 @@ import Sortable from 'sortablejs' ...@@ -3,7 +3,7 @@ import Sortable from 'sortablejs'
import type { MoveEvent, SortableEvent } from 'sortablejs' import type { MoveEvent, SortableEvent } from 'sortablejs'
import AddDialog from '../component/AddDialog.vue' import AddDialog from '../component/AddDialog.vue'
import { Operation } from '@element-plus/icons-vue' import { Operation } from '@element-plus/icons-vue'
import { getCategoryList, delCategory, createCategory, updateCategory, moveCategory } from '../api' import { getCategoryList, delCategory, moveCategory } from '../api'
import { ElMessage, ElMessageBox } from 'element-plus' import { ElMessage, ElMessageBox } from 'element-plus'
import AppList from '@/components/base/AppList.vue' import AppList from '@/components/base/AppList.vue'
...@@ -44,7 +44,7 @@ const handleDelete = (row: ICategory) => { ...@@ -44,7 +44,7 @@ const handleDelete = (row: ICategory) => {
const params = { id: row.id } const params = { id: row.id }
delCategory(params).then(() => { delCategory(params).then(() => {
ElMessage.success('删除成功') ElMessage.success('删除成功')
handleCategoryList() handleUpdate()
}) })
}) })
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论