feat(share): 移除报错提示
This commit is contained in:
parent
097dfd1939
commit
2bc8ba5e3a
|
@ -39,7 +39,6 @@
|
||||||
width="100%"
|
width="100%"
|
||||||
height="100%"
|
height="100%"
|
||||||
@load="onGeneratedImageLoad"
|
@load="onGeneratedImageLoad"
|
||||||
@error="onGeneratedImageError"
|
|
||||||
@click.stop=""
|
@click.stop=""
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
|
@ -179,15 +178,6 @@ export default {
|
||||||
console.log('生成的图片加载成功')
|
console.log('生成的图片加载成功')
|
||||||
},
|
},
|
||||||
|
|
||||||
// 生成的图片加载失败
|
|
||||||
onGeneratedImageError(e) {
|
|
||||||
console.error('生成的图片加载失败:', e)
|
|
||||||
uni.showToast({
|
|
||||||
title: '图片显示失败',
|
|
||||||
icon: 'none',
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
// 关闭全屏图片
|
// 关闭全屏图片
|
||||||
closeFullscreenImage() {
|
closeFullscreenImage() {
|
||||||
this.generatedImageUrl = ''
|
this.generatedImageUrl = ''
|
||||||
|
|
Loading…
Reference in New Issue