diff --git a/app/views/admins/identity_verifications/edit.html.erb b/app/views/admins/identity_verifications/edit.html.erb index eff4fbd08..1efc623d9 100644 --- a/app/views/admins/identity_verifications/edit.html.erb +++ b/app/views/admins/identity_verifications/edit.html.erb @@ -62,7 +62,7 @@
<% if @identity_verification.card_front_attachment.present? %> - <%= image_tag("#{@identity_verification.card_front_attachment.try(:filename)}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> + <%= image_tag("#{@identity_verification.card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> <%else%>

图片无法展示,图片已丢失

<%end%> @@ -72,7 +72,7 @@
<% if @identity_verification.card_back_attachment.present? %> - <%= image_tag("#{@identity_verification.card_back_attachment.try(:filename)}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> + <%= image_tag("#{@identity_verification.card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> <%else%>

图片无法展示,图片已丢失

<%end%> @@ -82,7 +82,7 @@
<% if @identity_verification.hold_card_front_attachment.present? %> - <%= image_tag("#{@identity_verification.hold_card_front_attachment.try(:filename)}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> + <%= image_tag("#{@identity_verification.hold_card_front_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> <%else%>

图片无法展示,图片已丢失

<%end%> @@ -92,7 +92,7 @@
<% if @identity_verification.hold_card_back_attachment.present? %> - <%= image_tag("#{@identity_verification.hold_card_back_attachment.try(:filename)}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> + <%= image_tag("#{@identity_verification.hold_card_back_attachment}", width: 100, height: 100, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %> <%else%>

图片无法展示,图片已丢失

<%end%>