javascript - Masters, please help me. I have been working on Baidu Editor for three days. The problem is as follows.
某草草
某草草 2017-05-31 10:37:20
0
3
461

The vue used in my front-end project has a port under 8081, and the port uploaded to the nodejs project created with express is 3000; Personally, I feel that uploading images has nothing to do with the port;

My front-end can successfully upload images to the back-end. I want to return the image address of the background after uploading,

Front-end receiving information

Front-end information error

I really don’t know the reason. Anyone who knows, please give me some advice. Thank you

某草草
某草草

reply all (3)
某草草

Change the response type to: application/json

    世界只因有你

    What does the front end use to send requests? It should be the response type. Set to json .

      Ty80

      You can check out my writing of a Baidu editor plug-in for Flask, but using python

        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!