内嵌网页转发怎么获得当前页标题

发布于 7 年前作者 yanliu5797 次浏览最后编辑 7 年前来自 ask

onShareAppMessage(options) {

    var that = this

    var return_url = options.webViewUrl    

    return {

      title: that.data.title,

      path: return_url,

      success: function (res) {

        console.log(‘转发成功’)

      },

      fail: function (res) {

        console.log(‘转发失败’)

      }

    }

  }

1 回复
jun80
jun801 楼5 年前

你好,目前暂不支持此功能。你需要自己维护一下。