From 328968f75a4dd4292ebc71f01d759a824765ac72 Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期五, 22 十一月 2024 10:00:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/api/data/plan/category/index.ts |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/api/data/plan/category/index.ts b/src/api/data/plan/category/index.ts
index fc2a7b6..f8faecd 100644
--- a/src/api/data/plan/category/index.ts
+++ b/src/api/data/plan/category/index.ts
@@ -7,10 +7,18 @@
   sort: number
 }
 
-export interface IndItemCategoryReqVO {
+export interface ItemCategoryReqVO {
   label?: string
 }
 
+export const defaultProps = {
+  children: 'children',
+  label: 'label',
+  value: 'id',
+  isLeaf: 'leaf',
+  emitPath: false // 用于 cascader 组件:在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值
+}
+
 // 查询列表
 export const getCategoryList = (params) => {
   return request.get({ url: '/data/plan/category/list', params})

--
Gitblit v1.9.3