修复默认封面没有用CDN函数的问题

pull/358/head
lifei6671 2018-07-22 12:28:34 +08:00
parent 872c16c06c
commit 6921b2ed40
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@
<div class="form-right"> <div class="form-right">
<label> <label>
<a href="javascript:;" data-toggle="modal" data-target="#upload-logo-panel"> <a href="javascript:;" data-toggle="modal" data-target="#upload-logo-panel">
<img src="{{.Model.Cover}}" onerror="this.src='/static/images/book.png'" alt="封面" style="max-width: 120px;border: 1px solid #999" id="headimgurl"> <img src="{{.Model.Cover}}" onerror="this.src='{{cndimg "/static/images/book.png"}}'" alt="封面" style="max-width: 120px;border: 1px solid #999" id="headimgurl">
</a> </a>
</label> </label>
</div> </div>