Explorar el Código

feat:增加wx.error的输出

xzh hace 4 años
padre
commit
e509ec1b0c
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      mobile/src/App.vue

+ 3 - 0
mobile/src/App.vue

@@ -68,6 +68,9 @@ export default {
               'downloadVoice']
           })
         }
+        wx.error(function (err) {
+          console.log(err)
+        })
         wx.ready(function () {
           var shareData = {
             title: '四维看看', //  标题