ZZJ
2022-07-28 edef6ae8f59823258ce610c9074d32e698958b51
本地图片适配
2个文件已修改
7 ■■■■■ 已修改文件
src/components/giantTree/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/subComponents/ImageShow.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/giantTree/index.vue
@@ -1,7 +1,7 @@
<template>
  <div class="tree-menu" :style="`max-height:${height - 200}px;`">
    <div class="devArea">
      <swiper :options="swiperOption" v-if="showDevArea">
    <div class="devArea" v-if="showDevArea">
      <swiper :options="swiperOption">
        <swiper-slide
          v-for="item in nodeList"
          :key="item.devId"
src/components/subComponents/ImageShow.vue
@@ -12,7 +12,8 @@
      if (
        this.src &&
        this.src.indexOf("http://apps.smartai.com/httpImage/") === -1 &&
        this.src.indexOf("/images") !== 0
        this.src.indexOf("/images") !== 0 &&
        this.src.indexOf("/files") !== 0
      ) {
        return "/httpImage/" + this.src;
      } else {