helloworld12
V2EX  ›  问与答

小程序 分享转发的时候白屏, 异步渲染的内容没有出现?

  •  
  •   helloworld12 · May 6, 2018 · 2518 views
    This topic created in 3012 days ago, the information mentioned may be changed or developed.

    有碰到相同的问题的吗?请教下,你们是怎么解决的

    4 replies    2018-05-06 20:40:06 +08:00
    deletemyself
        1
    deletemyself  
       May 6, 2018
    将要渲染的数据提前获取再调用分享 APi
    helloworld12
        2
    helloworld12  
    OP
       May 6, 2018
    @deletemyself ? 不是参数放在分享 url 上,然后打开分享页的时候,才根据 url 里面的参数,去服务器取数据吗?
    deletemyself
        3
    deletemyself  
       May 6, 2018
    分享转发的时候白屏 不是你分享是出现的那个小卡片上面没内容吗?我理解错了?
    likai
        4
    likai  
       May 6, 2018 via iPhone
    别人通过你分享的链接进入页面白屏?
    检查你的 onShareAppMessage 里面 return 的 path 组对了没
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5488 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.