javascript - vue-editor uploads images. The path is too long.
淡淡烟草味
淡淡烟草味 2017-07-05 11:02:59
0
2
856

I didn’t use Baidu’s rich text

I found a lot about vue-editor and they all handle uploaded images like this

But when I passed it to the background like this, the background couldn't process it and gave me 500 directly

What to do, all the great gods

淡淡烟草味
淡淡烟草味

reply all(2)
迷茫

...This is not a path problem...but the rich text editor converts your image to base64 encoding, and then stores the html tag and your text together

Do you want to save jpg/png/gif files to the database?

曾经蜡笔没有小新

This converts the image to base64. Because the background limits the length of this field, an error is reported. So don’t convert it to base64 before uploading

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!