mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
优化
This commit is contained in:
parent
78af4e3d3b
commit
376ed8f77c
325
build/cool/temp/eps.d.ts
vendored
325
build/cool/temp/eps.d.ts
vendored
@ -1,25 +1,4 @@
|
|||||||
declare namespace Eps {
|
declare namespace Eps {
|
||||||
interface AiLimitEntity {
|
|
||||||
/**
|
|
||||||
* 任意键值
|
|
||||||
*/
|
|
||||||
[key: string]: any;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AiOrderEntity {
|
|
||||||
/**
|
|
||||||
* 任意键值
|
|
||||||
*/
|
|
||||||
[key: string]: any;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AiVipEntity {
|
|
||||||
/**
|
|
||||||
* 任意键值
|
|
||||||
*/
|
|
||||||
[key: string]: any;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface BaseSysDepartmentEntity {
|
interface BaseSysDepartmentEntity {
|
||||||
/**
|
/**
|
||||||
* 任意键值
|
* 任意键值
|
||||||
@ -90,6 +69,13 @@ declare namespace Eps {
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface DemoUserEntity {
|
||||||
|
/**
|
||||||
|
* 任意键值
|
||||||
|
*/
|
||||||
|
[key: string]: any;
|
||||||
|
}
|
||||||
|
|
||||||
interface DictInfoEntity {
|
interface DictInfoEntity {
|
||||||
/**
|
/**
|
||||||
* 任意键值
|
* 任意键值
|
||||||
@ -146,6 +132,13 @@ declare namespace Eps {
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface UserAddressEntity {
|
||||||
|
/**
|
||||||
|
* 任意键值
|
||||||
|
*/
|
||||||
|
[key: string]: any;
|
||||||
|
}
|
||||||
|
|
||||||
interface UserInfoEntity {
|
interface UserInfoEntity {
|
||||||
/**
|
/**
|
||||||
* 任意键值
|
* 任意键值
|
||||||
@ -323,177 +316,6 @@ declare namespace Eps {
|
|||||||
request: Service["request"];
|
request: Service["request"];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AiLimit {
|
|
||||||
/**
|
|
||||||
* delete
|
|
||||||
*/
|
|
||||||
delete(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* update
|
|
||||||
*/
|
|
||||||
update(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* info
|
|
||||||
*/
|
|
||||||
info(data?: any): Promise<AiLimitEntity>;
|
|
||||||
/**
|
|
||||||
* list
|
|
||||||
*/
|
|
||||||
list(data?: any): Promise<AiLimitEntity[]>;
|
|
||||||
/**
|
|
||||||
* page
|
|
||||||
*/
|
|
||||||
page(data?: any): Promise<{
|
|
||||||
pagination: { size: number; page: number; total: number };
|
|
||||||
list: AiLimitEntity[];
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
/**
|
|
||||||
* add
|
|
||||||
*/
|
|
||||||
add(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* 权限标识
|
|
||||||
*/
|
|
||||||
permission: {
|
|
||||||
delete: string;
|
|
||||||
update: string;
|
|
||||||
info: string;
|
|
||||||
list: string;
|
|
||||||
page: string;
|
|
||||||
add: string;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 权限状态
|
|
||||||
*/
|
|
||||||
_permission: {
|
|
||||||
delete: boolean;
|
|
||||||
update: boolean;
|
|
||||||
info: boolean;
|
|
||||||
list: boolean;
|
|
||||||
page: boolean;
|
|
||||||
add: boolean;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 请求
|
|
||||||
*/
|
|
||||||
request: Service["request"];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AiOrder {
|
|
||||||
/**
|
|
||||||
* delete
|
|
||||||
*/
|
|
||||||
delete(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* update
|
|
||||||
*/
|
|
||||||
update(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* info
|
|
||||||
*/
|
|
||||||
info(data?: any): Promise<AiOrderEntity>;
|
|
||||||
/**
|
|
||||||
* list
|
|
||||||
*/
|
|
||||||
list(data?: any): Promise<AiOrderEntity[]>;
|
|
||||||
/**
|
|
||||||
* page
|
|
||||||
*/
|
|
||||||
page(data?: any): Promise<{
|
|
||||||
pagination: { size: number; page: number; total: number };
|
|
||||||
list: AiOrderEntity[];
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
/**
|
|
||||||
* add
|
|
||||||
*/
|
|
||||||
add(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* 权限标识
|
|
||||||
*/
|
|
||||||
permission: {
|
|
||||||
delete: string;
|
|
||||||
update: string;
|
|
||||||
info: string;
|
|
||||||
list: string;
|
|
||||||
page: string;
|
|
||||||
add: string;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 权限状态
|
|
||||||
*/
|
|
||||||
_permission: {
|
|
||||||
delete: boolean;
|
|
||||||
update: boolean;
|
|
||||||
info: boolean;
|
|
||||||
list: boolean;
|
|
||||||
page: boolean;
|
|
||||||
add: boolean;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 请求
|
|
||||||
*/
|
|
||||||
request: Service["request"];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface AiVip {
|
|
||||||
/**
|
|
||||||
* delete
|
|
||||||
*/
|
|
||||||
delete(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* update
|
|
||||||
*/
|
|
||||||
update(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* info
|
|
||||||
*/
|
|
||||||
info(data?: any): Promise<AiVipEntity>;
|
|
||||||
/**
|
|
||||||
* list
|
|
||||||
*/
|
|
||||||
list(data?: any): Promise<AiVipEntity[]>;
|
|
||||||
/**
|
|
||||||
* page
|
|
||||||
*/
|
|
||||||
page(data?: any): Promise<{
|
|
||||||
pagination: { size: number; page: number; total: number };
|
|
||||||
list: AiVipEntity[];
|
|
||||||
[key: string]: any;
|
|
||||||
}>;
|
|
||||||
/**
|
|
||||||
* add
|
|
||||||
*/
|
|
||||||
add(data?: any): Promise<any>;
|
|
||||||
/**
|
|
||||||
* 权限标识
|
|
||||||
*/
|
|
||||||
permission: {
|
|
||||||
delete: string;
|
|
||||||
update: string;
|
|
||||||
info: string;
|
|
||||||
list: string;
|
|
||||||
page: string;
|
|
||||||
add: string;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 权限状态
|
|
||||||
*/
|
|
||||||
_permission: {
|
|
||||||
delete: boolean;
|
|
||||||
update: boolean;
|
|
||||||
info: boolean;
|
|
||||||
list: boolean;
|
|
||||||
page: boolean;
|
|
||||||
add: boolean;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* 请求
|
|
||||||
*/
|
|
||||||
request: Service["request"];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface BaseComm {
|
interface BaseComm {
|
||||||
/**
|
/**
|
||||||
* personUpdate
|
* personUpdate
|
||||||
@ -1310,6 +1132,63 @@ declare namespace Eps {
|
|||||||
request: Service["request"];
|
request: Service["request"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface DemoUser {
|
||||||
|
/**
|
||||||
|
* delete
|
||||||
|
*/
|
||||||
|
delete(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* update
|
||||||
|
*/
|
||||||
|
update(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* info
|
||||||
|
*/
|
||||||
|
info(data?: any): Promise<DemoUserEntity>;
|
||||||
|
/**
|
||||||
|
* list
|
||||||
|
*/
|
||||||
|
list(data?: any): Promise<DemoUserEntity[]>;
|
||||||
|
/**
|
||||||
|
* page
|
||||||
|
*/
|
||||||
|
page(data?: any): Promise<{
|
||||||
|
pagination: { size: number; page: number; total: number };
|
||||||
|
list: DemoUserEntity[];
|
||||||
|
[key: string]: any;
|
||||||
|
}>;
|
||||||
|
/**
|
||||||
|
* add
|
||||||
|
*/
|
||||||
|
add(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* 权限标识
|
||||||
|
*/
|
||||||
|
permission: {
|
||||||
|
delete: string;
|
||||||
|
update: string;
|
||||||
|
info: string;
|
||||||
|
list: string;
|
||||||
|
page: string;
|
||||||
|
add: string;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 权限状态
|
||||||
|
*/
|
||||||
|
_permission: {
|
||||||
|
delete: boolean;
|
||||||
|
update: boolean;
|
||||||
|
info: boolean;
|
||||||
|
list: boolean;
|
||||||
|
page: boolean;
|
||||||
|
add: boolean;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 请求
|
||||||
|
*/
|
||||||
|
request: Service["request"];
|
||||||
|
}
|
||||||
|
|
||||||
interface DictInfo {
|
interface DictInfo {
|
||||||
/**
|
/**
|
||||||
* delete
|
* delete
|
||||||
@ -1877,6 +1756,63 @@ declare namespace Eps {
|
|||||||
request: Service["request"];
|
request: Service["request"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface UserAddress {
|
||||||
|
/**
|
||||||
|
* delete
|
||||||
|
*/
|
||||||
|
delete(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* update
|
||||||
|
*/
|
||||||
|
update(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* info
|
||||||
|
*/
|
||||||
|
info(data?: any): Promise<UserAddressEntity>;
|
||||||
|
/**
|
||||||
|
* list
|
||||||
|
*/
|
||||||
|
list(data?: any): Promise<UserAddressEntity[]>;
|
||||||
|
/**
|
||||||
|
* page
|
||||||
|
*/
|
||||||
|
page(data?: any): Promise<{
|
||||||
|
pagination: { size: number; page: number; total: number };
|
||||||
|
list: UserAddressEntity[];
|
||||||
|
[key: string]: any;
|
||||||
|
}>;
|
||||||
|
/**
|
||||||
|
* add
|
||||||
|
*/
|
||||||
|
add(data?: any): Promise<any>;
|
||||||
|
/**
|
||||||
|
* 权限标识
|
||||||
|
*/
|
||||||
|
permission: {
|
||||||
|
delete: string;
|
||||||
|
update: string;
|
||||||
|
info: string;
|
||||||
|
list: string;
|
||||||
|
page: string;
|
||||||
|
add: string;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 权限状态
|
||||||
|
*/
|
||||||
|
_permission: {
|
||||||
|
delete: boolean;
|
||||||
|
update: boolean;
|
||||||
|
info: boolean;
|
||||||
|
list: boolean;
|
||||||
|
page: boolean;
|
||||||
|
add: boolean;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* 请求
|
||||||
|
*/
|
||||||
|
request: Service["request"];
|
||||||
|
}
|
||||||
|
|
||||||
interface UserInfo {
|
interface UserInfo {
|
||||||
/**
|
/**
|
||||||
* delete
|
* delete
|
||||||
@ -1945,7 +1881,6 @@ declare namespace Eps {
|
|||||||
}): Promise<any>;
|
}): Promise<any>;
|
||||||
chat: { message: ChatMessage; session: ChatSession };
|
chat: { message: ChatMessage; session: ChatSession };
|
||||||
test: Test;
|
test: Test;
|
||||||
ai: { limit: AiLimit; order: AiOrder; vip: AiVip };
|
|
||||||
base: {
|
base: {
|
||||||
comm: BaseComm;
|
comm: BaseComm;
|
||||||
open: BaseOpen;
|
open: BaseOpen;
|
||||||
@ -1959,12 +1894,12 @@ declare namespace Eps {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
cloud: { db: CloudDb; func: { info: CloudFuncInfo; log: CloudFuncLog } };
|
cloud: { db: CloudDb; func: { info: CloudFuncInfo; log: CloudFuncLog } };
|
||||||
demo: { goods: DemoGoods };
|
demo: { goods: DemoGoods; user: DemoUser };
|
||||||
dict: { info: DictInfo; type: DictType };
|
dict: { info: DictInfo; type: DictType };
|
||||||
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
|
iot: { device: IotDevice; message: IotMessage; mqtt: IotMqtt };
|
||||||
recycle: { data: RecycleData };
|
recycle: { data: RecycleData };
|
||||||
space: { info: SpaceInfo; type: SpaceType };
|
space: { info: SpaceInfo; type: SpaceType };
|
||||||
task: { info: TaskInfo };
|
task: { info: TaskInfo };
|
||||||
user: { info: UserInfo };
|
user: { address: UserAddress; info: UserInfo };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
[["/admin/ai/limit","AiLimitEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/ai/order","AiOrderEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/ai/vip","AiVipEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/base/comm","",[["/personUpdate","post"],["/uploadMode","get"],["/permmenu","get"],["/person","get"],["/upload","post"],["/logout","post"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/open","",[["/refreshToken","get"],["/captcha","get"],["/login","post"],["/html","get"],["/eps","get"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/sys/department","BaseSysDepartmentEntity",[["/delete","post"],["/update","post"],["/order","post"],["/list","post"],["/add","post"],["/page"],["/info"]]],["/admin/base/sys/log","BaseSysLogEntity",[["/setKeep","post"],["/getKeep","get"],["/clear","post"],["/page","post"],["/list"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/sys/menu","BaseSysMenuEntity",[["/create","post"],["/delete","post"],["/update","post"],["/parse","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/base/sys/param","BaseSysParamEntity",[["/delete","post"],["/update","post"],["/html","get"],["/info","get"],["/page","post"],["/add","post"],["/list"]]],["/admin/base/sys/role","BaseSysRoleEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/base/sys/user","BaseSysUserEntity",[["/delete","post"],["/update","post"],["/move","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/db","CloudDBEntity",[["/initEntity","post"],["/delete","post"],["/update","post"],["/data","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/func/info","CloudFuncInfoEntity",[["/invoke","post"],["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/func/log","CloudFuncLogEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/demo/goods","DemoGoodsEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/dict/info","DictInfoEntity",[["/delete","post"],["/update","post"],["/data","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/dict/type","DictTypeEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/iot/device","IotDeviceEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/iot/message","IotMessageEntity",[["/page","post"],["/list"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/iot/mqtt","",[["/publish","post"],["/config","get"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/recycle/data","RecycleDataEntity",[["/restore","post"],["/info","get"],["/page","post"],["/list"],["/update"],["/delete"],["/add"]]],["/admin/space/info","SpaceInfoEntity",[["/getConfig","get"],["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/space/type","SpaceTypeEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/task/info","TaskInfoEntity",[["/delete","post"],["/update","post"],["/start","post"],["/once","post"],["/stop","post"],["/info","get"],["/page","post"],["/log","get"],["/add","post"],["/list"]]],["/admin/user/info","UserInfoEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/chat/message","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/chat/session","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/test","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]]]
|
[["/admin/base/comm","",[["/personUpdate","post"],["/uploadMode","get"],["/permmenu","get"],["/person","get"],["/upload","post"],["/logout","post"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/open","",[["/refreshToken","get"],["/captcha","get"],["/login","post"],["/html","get"],["/eps","get"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/sys/department","BaseSysDepartmentEntity",[["/delete","post"],["/update","post"],["/order","post"],["/list","post"],["/add","post"],["/page"],["/info"]]],["/admin/base/sys/log","BaseSysLogEntity",[["/setKeep","post"],["/getKeep","get"],["/clear","post"],["/page","post"],["/list"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/sys/menu","BaseSysMenuEntity",[["/create","post"],["/delete","post"],["/update","post"],["/parse","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/base/sys/param","BaseSysParamEntity",[["/delete","post"],["/update","post"],["/html","get"],["/info","get"],["/page","post"],["/add","post"],["/list"]]],["/admin/base/sys/role","BaseSysRoleEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/base/sys/user","BaseSysUserEntity",[["/delete","post"],["/update","post"],["/move","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/db","CloudDBEntity",[["/initEntity","post"],["/delete","post"],["/update","post"],["/data","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/func/info","CloudFuncInfoEntity",[["/invoke","post"],["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/cloud/func/log","CloudFuncLogEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/demo/goods","DemoGoodsEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/demo/user","DemoUserEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/dict/info","DictInfoEntity",[["/delete","post"],["/update","post"],["/data","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/dict/type","DictTypeEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/iot/device","IotDeviceEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/iot/message","IotMessageEntity",[["/page","post"],["/list"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/iot/mqtt","",[["/publish","post"],["/config","get"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/recycle/data","RecycleDataEntity",[["/restore","post"],["/info","get"],["/page","post"],["/list"],["/update"],["/delete"],["/add"]]],["/admin/space/info","SpaceInfoEntity",[["/getConfig","get"],["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/space/type","SpaceTypeEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/task/info","TaskInfoEntity",[["/delete","post"],["/update","post"],["/start","post"],["/once","post"],["/stop","post"],["/info","get"],["/page","post"],["/log","get"],["/add","post"],["/list"]]],["/admin/user/address","UserAddressEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/admin/user/info","UserInfoEntity",[["/delete","post"],["/update","post"],["/info","get"],["/list","post"],["/page","post"],["/add","post"]]],["/chat/message","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/chat/session","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/test","",[["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]]]
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-vue/crud",
|
"name": "@cool-vue/crud",
|
||||||
"version": "6.2.0",
|
"version": "6.2.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "./dist/index.umd.min.js",
|
"main": "./dist/index.umd.min.js",
|
||||||
"typings": "types/index.d.ts",
|
"typings": "types/index.d.ts",
|
||||||
|
@ -30,7 +30,7 @@ export default defineComponent({
|
|||||||
onSearch: Function
|
onSearch: Function
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props, { slots, expose }) {
|
setup(props, { slots, expose, emit }) {
|
||||||
const { crud } = useCore();
|
const { crud } = useCore();
|
||||||
const { style } = useTools();
|
const { style } = useTools();
|
||||||
|
|
||||||
@ -66,6 +66,7 @@ export default defineComponent({
|
|||||||
// 重置
|
// 重置
|
||||||
function reset() {
|
function reset() {
|
||||||
Form.value?.reset();
|
Form.value?.reset();
|
||||||
|
emit("reset");
|
||||||
}
|
}
|
||||||
|
|
||||||
expose({
|
expose({
|
||||||
|
Loading…
Reference in New Issue
Block a user