Commit eae6895d0e7218e15e753c591a7cbd4c441be829
1 parent
2f3a019a
perf(src/packages/public/publicConfig.ts): 修改默认为动态接口
Showing
1 changed file
with
10 additions
and
1 deletions
@@ -18,9 +18,17 @@ import { | @@ -18,9 +18,17 @@ import { | ||
18 | import { chartInitConfig } from '@/settings/designSetting' | 18 | import { chartInitConfig } from '@/settings/designSetting' |
19 | import cloneDeep from 'lodash/cloneDeep' | 19 | import cloneDeep from 'lodash/cloneDeep' |
20 | 20 | ||
21 | +/** | ||
22 | + * 这里更新版本有冲突 | ||
23 | + * ft 修改在公共接口下拉框里默认选择公共接口 | ||
24 | + * 修改后的代码在注释之间,并标注好源代码和修改后代码,方便回溯 | ||
25 | + * 源代码 requestDataType: RequestDataTypeEnum.AJAX, | ||
26 | + * 修改后的代码 requestDataType: RequestDataTypeEnum.Pond, | ||
27 | + * 修改后代码在//ft之间 | ||
28 | + */ | ||
21 | // 请求基础属性 | 29 | // 请求基础属性 |
22 | export const requestConfig: RequestConfigType = { | 30 | export const requestConfig: RequestConfigType = { |
23 | - requestDataType: RequestDataTypeEnum.STATIC, | 31 | + requestDataType: RequestDataTypeEnum.Pond, |
24 | requestHttpType: RequestHttpEnum.GET, | 32 | requestHttpType: RequestHttpEnum.GET, |
25 | requestUrl: '', | 33 | requestUrl: '', |
26 | requestInterval: undefined, | 34 | requestInterval: undefined, |
@@ -41,6 +49,7 @@ export const requestConfig: RequestConfigType = { | @@ -41,6 +49,7 @@ export const requestConfig: RequestConfigType = { | ||
41 | Params: {} | 49 | Params: {} |
42 | } | 50 | } |
43 | } | 51 | } |
52 | +//ft之间 | ||
44 | 53 | ||
45 | // 单实例类 | 54 | // 单实例类 |
46 | export class PublicConfigClass implements PublicConfigType { | 55 | export class PublicConfigClass implements PublicConfigType { |