这个关于渲染图片的报错是怎么回事?

小程序 文章 2022-03-07 15:20 320 0 全屏看文

AI助手支持GPT4.0

这个关于渲染图片的报错是怎么回事?What's the matter with this error about rendering the image?

这个关于渲染图片的报错是怎么回事?

而且报错显示的图片路径跟我写的图片路径不一致。

Moreover, the image path displayed in the error report is inconsistent with the image path I wrote.

回答:

八九:

贴下具体代码位置

小黎:
斜杠反了 pages/orders/images/pexels-eva-elijas-6216361.jpg
巴别图书馆:改回来还是一样啊
小黎:看下你文件目录
再见,电脑崽:

背景里background-image不能使用本地图片,要么base64,要么使用网络图片。

巴别图书馆:改用网络图片后报另一种错了
光:

代码问题吧

巴别图书馆:
光:相对路径,绝对路径
微喵网络:

代码怎么写的?

巴别图书馆:
微喵网络:背景图只能网络图片
巴别图书馆:你好,改用网络图片改报另一种错了,还是加载不出来
微喵网络:代码,代码,没代码猜吗?

-EOF-

AI助手支持GPT4.0