Merge pull request '修复审核详情报错' (#117) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan 2023-08-24 11:37:51 +08:00
commit 6cb0fd44f1
1 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@
<div class="form-row">
<td>
<% if @identity_verification.card_front_attachment.present? %>
<%= image_tag("#{@identity_verification.card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%= image_tag("/api/attachments/#{@identity_verification.card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%else%>
<p> 图片无法展示,图片已丢失</p>
<%end%>
@ -72,7 +72,7 @@
<div class="form-row">
<td>
<% if @identity_verification.card_back_attachment.present? %>
<%= image_tag("#{@identity_verification.card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%= image_tag("/api/attachments/#{@identity_verification.card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%else%>
<p> 图片无法展示,图片已丢失</p>
<%end%>
@ -82,7 +82,7 @@
<div class="form-row">
<td>
<% if @identity_verification.hold_card_front_attachment.present? %>
<%= image_tag("#{@identity_verification.hold_card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%= image_tag("/api/attachments/#{@identity_verification.hold_card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%else%>
<p> 图片无法展示,图片已丢失</p>
<%end%>
@ -92,7 +92,7 @@
<div class="form-row">
<td>
<% if @identity_verification.hold_card_back_attachment.present? %>
<%= image_tag("#{@identity_verification.hold_card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%= image_tag("/api/attachments/#{@identity_verification.hold_card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
<%else%>
<p> 图片无法展示,图片已丢失</p>
<%end%>