diff --git a/components/Cn-htmlToImg/Cn-htmlToImg.vue b/components/Cn-htmlToImg/Cn-htmlToImg.vue index 048b317..8e459a0 100644 --- a/components/Cn-htmlToImg/Cn-htmlToImg.vue +++ b/components/Cn-htmlToImg/Cn-htmlToImg.vue @@ -49,7 +49,7 @@ export default { }).catch((err) => { console.log(err) }) - }, 1000); + }, 300); } } } diff --git a/manifest.json b/manifest.json index e696e7e..89bcfcc 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "灿能物联", "appid" : "__UNI__88BC25B", "description" : "", - "versionName" : "1.0.0", + "versionName" : "1.0.1", "versionCode" : "100", "transformPx" : false, /* 5+App特有相关 */ diff --git a/pages/device/APF/detail.vue b/pages/device/APF/detail.vue index c267c5f..dfb5df2 100644 --- a/pages/device/APF/detail.vue +++ b/pages/device/APF/detail.vue @@ -5,7 +5,8 @@ - + 负载THDI(%) @@ -273,9 +274,21 @@ export default { this.img = e }, previewImg () { - uni.previewImage({ - urls: [this.img], - }) + if (!this.img) { + uni.showLoading({ + title: '图片生成中', + mask: false + }) + setTimeout(() => { + this.previewImg() + }, 500); + } else { + uni.hideLoading() + uni.previewImage({ + urls: [this.img], + }) + } + } }, onLoad (options) { diff --git a/pages/device/DVR/detail.vue b/pages/device/DVR/detail.vue index 4dd3770..4500898 100644 --- a/pages/device/DVR/detail.vue +++ b/pages/device/DVR/detail.vue @@ -4,7 +4,7 @@ - +