uni图片流展示
<template>
<view class="content"><image :src="codeImg" class="img_width" mode=""></image></view>
</template>
<script>
export default {
data() {
return {
codeImg:""
};
},
methods: {
getList(ID) {
this.$request('/api/eurekamedicalsystem/v2/medical-temperature/base64', {
"docId": ID
// "key": this.searchValue
}).then(res => {
debugger
this.codeImg = res.base64Str;
})
},
},
onLoad(options) {
this.getList(options.ID)
},
};
</script>
<style>
.img_width{width:100%}
</style>
本文标题:uni图片流展示
本文链接:https://www.haomeiwen.com/subject/trmaoltx.html
网友评论