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