Commit ed285624aa3805d85e9ea56b502768153c74e5af

Authored by ww
1 parent 3ef920cb

fix(public request): DEFECT-1238 修复前端重复提示

... ... @@ -26,7 +26,7 @@ export const useFetchTargetData = () => {
26 26 } catch (error) {
27 27 loading.value = false
28 28 console.error(error);
29   - window['$message'].warning('数据异常,请检查参数!')
  29 + // window['$message'].warning('数据异常,请检查参数!')
30 30 }
31 31 }
32 32 return { fetchTargetData, loading }
... ...
... ... @@ -29,10 +29,7 @@ const designStore = useDesignStore()
29 29 * 修改后的代码 const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond)
30 30 * 修改后代码在//ft之间
31 31 */
32   -
33 32 const selectedRequestType = ref(targetData.value.request.requestDataType || RequestDataTypeEnum.Pond)
34   -console.log(targetData.value.request.requestDataType)
35   -//ft
36 33
37 34 const getApiRequestType: SelectOption[] = [
38 35 { label: '自定义请求', value: RequestDataTypeEnum.AJAX },
... ...