瀏覽代碼

修复bug

hwy 1 月之前
父節點
當前提交
e1ddb1d847
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      app/statistics/html/comprehensive-query.html
  2. 2 1
      app/statistics/js/comprehensive-query.js

+ 1 - 1
app/statistics/html/comprehensive-query.html

@ -889,7 +889,7 @@
                    <el-table-column prop="create_time" label="签到时间" align="center"></el-table-column>
                    <el-table-column prop="img" label="签到图片" align="center">
                      <template slot-scope="scope">
                        <img :src="getImgurl(scope.row.img)" style="height: 40px; width: 40px" />
                        <img :src="getImgurl(scope.row.img)" style="height: 40px; width: 40px" v-if="scope.row.img" />
                      </template>
                    </el-table-column>
                  </template>

+ 2 - 1
app/statistics/js/comprehensive-query.js

@ -845,7 +845,8 @@ if(searchStr){
      }
    },
    getImgurl: function (url) {
      return httpRequest.getImgUrl(url);
      var imgUrl=url&& url.split(',')[0]
      return httpRequest.getImgUrl(imgUrl);
    },
    reset: function () {
      if (this.tabsId == 1) {