ZZJ
2022-04-22 7170a5adff3d48ac589fbb2c67ac6c45684b4393
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
  <img :src="url" alt="" />
</template>
 
<script>
export default {
  props: {
    src: {},
  },
  computed: {
    url() {
      if (this.src.indexOf("http://apps.smartai.com/httpImage/") === -1) {
        return "httpImage" + this.src;
      } else {
        return this.src;
      }
    },
  },
};
</script>
 
<style>
</style>