gpt4 book ai didi

Cannot destructure property 'imageUrl' of 'response.body' as it is undefined(无法解构“response.body”的属性“imageUrl”,因为该属性未定义)

转载 作者:bug小助手 更新时间:2023-10-25 13:38:41 37 4
gpt4 key购买 nike



I am using node v18 and angular v16 to add images through npm install @kolkov/angular-editor package.

我正在使用nodev18和angeltv16通过NPM安装@kolkov/angelteditor包来添加图像。


ERROR TypeError: Cannot destructure property 'imageUrl' of 'response.body' as it is undefined.
getting this error in consloe while adding image.

Error TypeError:无法对‘Response.Body’的属性‘ImageUrl’进行结构分析,因为它未定义。在添加图像时,在视窗中遇到此错误。


I am getting proper res in of url link from backend not able to receive in angular and add in texteditor .
uploadUrl: environment.baseUrl + '/uploadTextEditorImages',
upload: (file: File) => { ... }
uploadWithCredentials: false,
sanitize: true,
toolbarPosition: 'top',
toolbarHiddenButtons: [['bold', 'italic'],['fontSize']]

我得到了来自后端的URL链接不能接收在角度和添加在文本编辑适当的RES。UploadUrl:Environmental ment.base Url+‘/UploadTextEditorImages’,Upload:(FILE:FILE)=>{...}UploadWithCredentials:FALSE,SANITIZE:TRUE,TOBAR位置:‘top’,TOP,TOBAR隐藏按钮:[[‘粗体’,‘斜体’],[‘FontSize’]]


this is the code i am using in config.
enter image description here

这是我在配置中使用的代码。在此处输入图像描述


enter image description here

在此处输入图像描述


更多回答
优秀答案推荐
更多回答

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com