diff --git a/common/request.js b/common/request.js index 39a0637..55ac922 100644 --- a/common/request.js +++ b/common/request.js @@ -15,6 +15,7 @@ const coreRequestBase = (url, reqParams, options = {}, methodType = "POST", core data: reqParams, header: options, method: methodType, + timeout: 120000, // 请求超时 ...coreParams, success: (res) => { resolve(res) diff --git a/components/tpx-bluetooth-print/create-image-data-bycanvas.vue b/components/tpx-bluetooth-print/create-image-data-bycanvas.vue index 657c065..b567048 100644 --- a/components/tpx-bluetooth-print/create-image-data-bycanvas.vue +++ b/components/tpx-bluetooth-print/create-image-data-bycanvas.vue @@ -90,6 +90,7 @@ export default { that.canvasId = uni.$u.guid(20) hideLoading() reject(e) + showToast('renderCanvasImg:图片渲染异常') } }) }, diff --git a/manifest.json b/manifest.json index 1ebf81b..5de8780 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__BCB0FB5", "description" : "探路国际速运", "versionName" : "1.0.0", - "versionCode" : "1024", + "versionCode" : "1025", "transformPx" : false, /* 5+App特有相关 */ "app-plus" : {