Commit ed285624aa3805d85e9ea56b502768153c74e5af
1 parent
3ef920cb
fix(public request): DEFECT-1238 修复前端重复提示
Showing
2 changed files
with
1 additions
and
4 deletions
| @@ -26,7 +26,7 @@ export const useFetchTargetData = () => { | @@ -26,7 +26,7 @@ export const useFetchTargetData = () => { | ||
| 26 | } catch (error) { | 26 | } catch (error) { |
| 27 | loading.value = false | 27 | loading.value = false |
| 28 | console.error(error); | 28 | console.error(error); |
| 29 | - window['$message'].warning('数据异常,请检查参数!') | 29 | + // window['$message'].warning('数据异常,请检查参数!') |
| 30 | } | 30 | } |
| 31 | } | 31 | } |
| 32 | return { fetchTargetData, loading } | 32 | return { fetchTargetData, loading } |
| @@ -29,10 +29,7 @@ const designStore = useDesignStore() | @@ -29,10 +29,7 @@ const designStore = useDesignStore() | ||
| 29 | * 修改后的代码 const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond) | 29 | * 修改后的代码 const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond) |
| 30 | * 修改后代码在//ft之间 | 30 | * 修改后代码在//ft之间 |
| 31 | */ | 31 | */ |
| 32 | - | ||
| 33 | const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond) | 32 | const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond) |
| 34 | -console.log(targetData.value.request.requestDataType) | ||
| 35 | -//ft | ||
| 36 | 33 | ||
| 37 | const getApiRequestType: SelectOption[] = [ | 34 | const getApiRequestType: SelectOption[] = [ |
| 38 | { label: '自定义请求', value: RequestDataTypeEnum.AJAX }, | 35 | { label: '自定义请求', value: RequestDataTypeEnum.AJAX }, |