<template>
    <s-upload v-model="text" :error-callback="callback" view="image" />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const text = ref('')
function callback(message){
  alert(message)
}
</script>

<style lang="scss" scoped>
</style>
