Authored by 陈峰

commit

... ... @@ -45,7 +45,7 @@
v-if="!infinite"
class="cube-recycle-list-loading">
<slot name="spinner">
<div class="cube-recycle-list-loading-content" v-show="!noMore" :style="{visibility: loading ? 'visible' : 'hidden'}">
<div class="cube-recycle-list-loading-content" v-show="!noMore" :style="{visibility: loadings.length ? 'visible' : 'hidden'}">
<cube-loading class="spinner"></cube-loading>
</div>
</slot>
... ...
... ... @@ -2,16 +2,19 @@ module.exports = [
{
route: /grass\/article\/\d+$/,
cacheKey: '$url$params',
cacheTime: 900,
cache: true
},
{
route: /grass\/article\/\d+\/user/,
cacheKey: '$url$params',
cacheTime: 900,
cache: true
},
{
route: /grass\/author\/\d+\/\d+/,
cacheKey: '$url$params',
cacheTime: 900,
cache: true
}
];
... ...