Giter Club home page Giter Club logo

Comments (1)

Chef5 avatar Chef5 commented on June 1, 2024

这是报的错误,刚学不太懂 thirdScriptError Cannot read property 'openid' of null;at api request success callback function TypeError: Cannot read property 'openid' of null at success (http://127.0.0.1:32980/appservice/app.js:103:41) at Function.i. (http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:1461858) at http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:127910 at A (http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:560349) at i. (http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:943613) at i.emit (http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:620360) at Za (http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:944474) at http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:945717 at http://127.0.0.1:32980/appservice/__dev__/WAService.js?t=wechat&s=1650108452613&v=2.10.4:2:605362 at c (http://127.0.0.1:32980/appservice/__dev__/asdebug.js:1:41475)(env: Windows,mp,1.05.2109131; lib: 2.10.4)

/pages/user/user.js的 60行注释掉

  initData: function() {
    // 初始化用户数据
    // let user = that.getUserInfoFromLocal();
    //初始化:获取用户数据
    // this.getUserData();
    //初始化:缓存数据
    this.setCacheSize();
  },

from poprun.

Related Issues (16)

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.