Git Product home page Git Product logo

Comments (5)

leenty avatar leenty commented on July 29, 2024

image
可以的呀,什么情况,你是翻墙了吗

from vue2.

AimLuo avatar AimLuo commented on July 29, 2024

好吧,是我**了。顺便问你个问题。vue-resourse取回的数据是blob,这应该怎么解析成json。数据是我们公司的开发测试环境数据
如下图:
image

代码如下,为何排版不对
https://segmentfault.com/n/1330000007936015

from vue2.

leenty avatar leenty commented on July 29, 2024

vue-resourse的Promise回调里有提供3个方法

Method Type Description
text() Promise Resolves the body as string
json() Promise Resolves the body as parsed JSON object
blob() Promise Resolves the body as Blob object

你可以试试blob()或者text()看看

你的segmentfault地址我没权限查看0.0

不过,多谢你的关注拉!

from vue2.

AimLuo avatar AimLuo commented on July 29, 2024

都试过了,然而并没有什么卵用,好像是后台的问题,明天找后台玩玩。

from vue2.

leenty avatar leenty commented on July 29, 2024

哈哈,可以的

from vue2.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.