willsonlincake 发表于 2022-4-9 12:15:43

小程序打开文档预览

wx.openDocument({
            filePath: Path,                               //要打开的文件路径
            success: function (res) {
            console.log('打开PDF成功');
            }
          })
页: [1]
查看完整版本: 小程序打开文档预览