no message

This commit is contained in:
kuaifan 2021-06-30 15:17:24 +08:00
parent 7fea622174
commit 86b3cbeb66
2 changed files with 17 additions and 5 deletions

View File

@ -27,7 +27,7 @@
<ul>
<li @click="[pid=0,searchKey='']">{{$L('全部文件')}}</li>
<li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li>
<li v-else v-for="item in navigator" @click="pid=item.id">{{item.name}}</li>
<li v-else v-for="item in navigator" @click="pid=item.id"><span :title="item.name">{{item.name}}</span></li>
</ul>
<Button v-if="shearFile && shearFile.pid != pid" size="small" type="primary" @click="shearTo">
<div class="file-shear">
@ -320,6 +320,10 @@ export default {
}
return;
}
if (item.newname == item.name) {
this.$set(item, '_edit', false);
return;
}
if (item._load) {
return;
}

View File

@ -69,6 +69,7 @@
> ul {
display: flex;
align-items: center;
overflow: auto;
> li {
display: flex;
list-style: none;
@ -91,6 +92,13 @@
font-weight: 500;
font-family: system-ui, sans-serif;
}
> span {
display: inline-block;
max-width: 180px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
}
.ivu-btn {
@ -121,8 +129,8 @@
list-style: none;
float: left;
margin: 12px;
width: 90px;
height: 95px;
width: 94px;
height: 100px;
text-align: center;
position: relative;
overflow: visible;
@ -186,8 +194,8 @@
}
.file-icon {
display: inline-block;
width: 46px;
height: 46px;
width: 52px;
height: 52px;
background-repeat: no-repeat;
background-size: contain;
margin-top: 12px;