lhao
V2EX  ›  微信

微信小程序求解

  •  
  •   lhao · Dec 25, 2017 · 2327 views
    This topic created in 3248 days ago, the information mentioned may be changed or developed.

    我想用微信小程序来渲染出这个网站内容的个人主页信息,但是不知道怎么获取数据,求大神指点.....

    lhao
    lhao
    OP
    Dec 26, 2017
    1
    我在 app.js 里的 onlaunch 里 wx.request,但是在 index.js 里的 onload 里却没有数据。
    bingod
    bingod
    Dec 26, 2017
    2
    启动时获取数据,最好在 index.js 里 onLoad 函数内部执行 wx.request
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4216 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:27 · PVG 15:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.