8ea9c133
陈威
初始化提交
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<template>
<div>
<img :src="imgBase64" />
</div>
</template>
<script>
import { getBpmImage } from '@/api/flow.js'
export default {
props: {
instId: {
type: String,
default: '',
},
defId: {
type: String,
default: '',
},
},
data() {
return {
imgBase64: '',
}
},
mounted() {
const this_ = this
getBpmImage('', this.instId, this.defId, (res) => {
this_.imgBase64 = res
})
},
}
</script>
<style lang="scss" scoped></style>
|