fix(operator): fix operator edit issue
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m51s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m51s
This commit is contained in:
@@ -101,9 +101,14 @@ export class BaseService {
|
||||
* 获取单个资源
|
||||
* @param url 请求URL
|
||||
* @param params 请求参数
|
||||
* @param config 额外配置
|
||||
*/
|
||||
protected static getOne<T>(url: string, params?: Record<string, any>): Promise<BaseResponse<T>> {
|
||||
return this.get<BaseResponse<T>>(url, params)
|
||||
protected static getOne<T>(
|
||||
url: string,
|
||||
params?: Record<string, any>,
|
||||
config?: Record<string, any>
|
||||
): Promise<BaseResponse<T>> {
|
||||
return this.get<BaseResponse<T>>(url, params, config)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user