Skip to content

Commit

Permalink
Merge pull request #198 from People-Sea/main
Browse files Browse the repository at this point in the history
fix(ma-resource): prevent image component from throwing error when sr…
  • Loading branch information
kanyxmo authored Jul 4, 2024
2 parents ebfe22f + 4d21603 commit fa0d9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ma-resource/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a-modal v-model:visible="openNetworkModal" :ok-text="$t('sys.save')" :on-before-ok="saveNetworkImg" draggable>
<template #title>{{ $t('maResource.saveNetworkImage') }}</template>
<a-input v-model="networkImg" class="mb-3" :placeholder="$t('maResource.networkImageNotice')" allow-clear />
<a-image :src="networkImg" width="100%" style="min-height: 150px;" />
<a-image :src="networkImg ?? ''" width="100%" style="min-height: 150px;" />
</a-modal>
<div class="lg:w-1/5 w-full p-2 shadow">
<ma-tree-slider
Expand Down

0 comments on commit fa0d9ec

Please sign in to comment.