Coder Social home page Coder Social logo

Comments (8)

dntzhang avatar dntzhang commented on May 20, 2024

@jyy12 你说的问题已经修复了。是AlloyLever的问题,在xhr send之前提前去读取xhr的状态会报这个错。你使用最新版的 AlloyLever 就ok了。

from alloylever.

niniun1024 avatar niniun1024 commented on May 20, 2024

用了最新版的,ajax请求txt或json的时候报类似下面的错误:
Error: Uncaught SyntaxError: Unexpected end of input Script: http://192.168.172.126/console.html Line: 0 Column: -1 StackTrace: SyntaxError: Unexpected end of input

Error: Uncaught SyntaxError: Unexpected token a Script: http://192.168.172.126/console.html Line: 1 Column: 0 StackTrace: SyntaxError: Unexpected token a

from alloylever.

dntzhang avatar dntzhang commented on May 20, 2024

@jyy12 你的json不符合格式。JSON.parse的时候出错了。我把JSON.parse try catch一下吧。

from alloylever.

dntzhang avatar dntzhang commented on May 20, 2024

@jyy12 最新的OK了。可以输出非json和非标准格式的json。 多谢多谢!!

from alloylever.

ouvens avatar ouvens commented on May 20, 2024

实现原理应该比较简单,捕获error或try-catch的msg信息和performance timing等数据插到到页面上展示,好早一些php框架debug模式也有实现,比如输出php的log信息~

from alloylever.

holidaying avatar holidaying commented on May 20, 2024

本地启动,报了两个错,一个是queryseletAll of null还有就是跨域问题

from alloylever.

dntzhang avatar dntzhang commented on May 20, 2024

@sessionStorage queryseletAll 是怎么报出来的?代码里都没有queryseletAll 啊

from alloylever.

holidaying avatar holidaying commented on May 20, 2024

在AlloyLever.js里面。

from alloylever.

Related Issues (20)

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.