Commit 18b7a43ac515c5e98412166f4fca87f624ae31bc
1 parent
e11c6272
perf(src/packages): 优化公共接口下拉选择,切换其他接口,参数未置空
Showing
2 changed files
with
2 additions
and
1 deletions
... | ... | @@ -451,6 +451,8 @@ export const useDynamicPublicForm = (paramsItemList: Ref<ParamsItemType[]>) => { |
451 | 451 | params[BuiltInVariable.SELECT_TIME_AGGREGATION].agg = null |
452 | 452 | params[BuiltInVariable.SELECT_TIME_AGGREGATION].limit = 7 |
453 | 453 | params[BuiltInVariable.SELECT_TIME_AGGREGATION].interval = null |
454 | + params.page = null | |
455 | + params.pageSize = null | |
454 | 456 | getSelectDeviceAttr.value.value = null |
455 | 457 | getSelectOrgTree.value.value = null |
456 | 458 | getSelectDeviceProfile.value.value = null | ... | ... |
... | ... | @@ -163,7 +163,6 @@ const setConfigurationData = async (request: ExtraRequestConfigType) => { |
163 | 163 | * 源代码 selectedPublicInterface.value = requestDataPondId |
164 | 164 | * 修改后代码 selectedPublicInterface.value = publicInterfaceList.value.find(it=>it.id === requestDataPondId)?.id||'' |
165 | 165 | */ |
166 | - console.log(publicInterfaceList.value) | |
167 | 166 | selectedPublicInterface.value = publicInterfaceList.value.find(it => it.id === publicInterfaceSelectId)?.id || '' |
168 | 167 | //ft |
169 | 168 | requestContentTypeRef.value = requestContentType | ... | ... |