mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 03:43:51 +08:00
fix: fix the web compiled warnings (#778)
* fix: fix the web compiled warnings Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com> * fix: disable changeMomentLanguage Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com> * Update SyncerEditPage.js * Update UserEditPage.js * Update ResourceListPage.js * Update ProviderEditPage.js * Update ProductBuyPage.js Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
@ -206,7 +206,7 @@ class ResourceListPage extends BaseListPage {
|
||||
render: (text, record, index) => {
|
||||
if (record.fileType === "image") {
|
||||
return (
|
||||
<a target="_blank" href={record.url}>
|
||||
<a target="_blank" rel="noreferrer" href={record.url}>
|
||||
<img src={record.url} alt={record.name} width={100} />
|
||||
</a>
|
||||
)
|
||||
|
Reference in New Issue
Block a user