20 行
420 B
Plaintext
20 行
420 B
Plaintext
<template>
|
|
<!-- #ifdef APP && !VUE3-VAPOR -->
|
|
<scroll-view style="flex: 1;">
|
|
<!-- #endif -->
|
|
<image style="width: 100%;" src="/static/test-image/longPath.jpg" mode="widthFix" @load="load"></image>
|
|
<!-- #ifdef APP && !VUE3-VAPOR -->
|
|
</scroll-view>
|
|
<!-- #endif -->
|
|
</template>
|
|
|
|
<script setup lang="uts">
|
|
function load(event : ImageLoadEvent) {
|
|
console.log("load event:", event)
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|