switch from pre-signed to public image links
All checks were successful
/ Make image (push) Successful in 39s
All checks were successful
/ Make image (push) Successful in 39s
This commit is contained in:
parent
bb40d17e6b
commit
72b0b00e44
3 changed files with 6 additions and 25 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script setup>
|
||||
import { onMounted, ref } from 'vue'
|
||||
import { NModal, NUpload, useMessage } from 'naive-ui'
|
||||
import { NModal, useMessage } from 'naive-ui'
|
||||
import BoxIcon from '@/components/icons/BoxIcon.vue'
|
||||
import { useMerchImagesApi } from '@/api/merchImages.js'
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ async function handleUpload({ fileList: newFileList }) {
|
|||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const { imgUrl } = await getImageUrl(props.merchUuid, 'full')
|
||||
const imgUrl = await getImageUrl(props.merchUuid, 'full')
|
||||
fileList.value = [
|
||||
{
|
||||
name: 'full.jpg',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue