forked from b2894lxlx/tuanwei-admin
新增标准节租金等功能
This commit is contained in:
@@ -221,11 +221,12 @@
|
||||
|
||||
/* 删除单个 */
|
||||
const remove = (row: Category) => {
|
||||
console.log(row);
|
||||
if (row.children?.length) {
|
||||
message.error('请先删除子节点');
|
||||
return;
|
||||
}
|
||||
const hide = messageLoading('请求中..', 0);
|
||||
const hide = messageLoading('请求中..' + row.categoryId, 0);
|
||||
removeCategory(row.categoryId)
|
||||
.then((msg) => {
|
||||
hide();
|
||||
|
||||
Reference in New Issue
Block a user