From 41f326afe8bd7f32ab1af471b0e8ce048cc7292e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E8=BF=90=E9=94=8B?= Date: Tue, 25 Jun 2019 12:01:27 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9C=E5=85=BC=E5=AE=B9=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B0=8F=E7=A8=8B=E5=BA=8F=EF=BC=9Awx?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BAmpvue=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libs/html2json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/html2json.js b/src/libs/html2json.js index 05d0023..5d2162f 100644 --- a/src/libs/html2json.js +++ b/src/libs/html2json.js @@ -48,7 +48,7 @@ function trimHtml(html) { function getScreenInfo() { const screen = {}; - wx.getSystemInfo({ + mpvue.getSystemInfo({ success: (res) => { screen.width = res.windowWidth; screen.height = res.windowHeight;