mirror of
https://github.com/potato47/ccc-devtools.git
synced 2024-12-26 03:39:16 +00:00
Merge pull request #6 from MR-L-2015/master
修复bug: 如果url具有?号带参数,缓存图片会失效,显示不出来。
This commit is contained in:
commit
3cb2cca68f
@ -193,7 +193,7 @@
|
|||||||
<Modal v-model="isShowCache" width="800" :mask-closable="false" :mask="false" scrollable @on-cancel="closeCachePanel()" :title="cacheTitle" footer-hide="true">
|
<Modal v-model="isShowCache" width="800" :mask-closable="false" :mask="false" scrollable @on-cancel="closeCachePanel()" :title="cacheTitle" footer-hide="true">
|
||||||
<i-table border :columns="cacheColumns" height="600" size="small" :data="cacheData" :loading="cacheDataLoading">
|
<i-table border :columns="cacheColumns" height="600" size="small" :data="cacheData" :loading="cacheDataLoading">
|
||||||
<template slot-scope="{ row, index }" slot="cache_preview">
|
<template slot-scope="{ row, index }" slot="cache_preview">
|
||||||
<img :src="window.location.href + row.preview" style="max-height: 40px;max-width: 120px;" v-if="row.preview">
|
<img :src="window.location.protocol + '//' + window.location.host + '/' + row.preview" style="max-height: 40px;max-width: 120px;" v-if="row.preview">
|
||||||
<div v-if="!row.preview" style="max-height: 40px;">_</div>
|
<div v-if="!row.preview" style="max-height: 40px;">_</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="{ row, index }" slot="cache_action">
|
<template slot-scope="{ row, index }" slot="cache_action">
|
||||||
|
Loading…
Reference in New Issue
Block a user