Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 90bb186

Browse files
committed
优化 细节问题
1 parent 7eb6913 commit 90bb186

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/app/views/FileManager.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@
9090
></el-progress>
9191
</div>
9292

93-
<p>当前目录: {{ currentDir }}</p>
93+
<p>
94+
<el-tag type="success" size="small">当前目录</el-tag>
95+
&nbsp;
96+
<el-tag type="info" size="small"> {{ currentDir }}</el-tag>
97+
</p>
9498

9599
<el-table
96100
:data="files"
@@ -193,7 +197,7 @@ export default {
193197
},
194198
pageParam: {
195199
page: 1,
196-
pageSize: 40,
200+
pageSize: 30,
197201
total: 1
198202
},
199203
@@ -229,6 +233,7 @@ export default {
229233
async toDir(name) {
230234
try {
231235
const p = path.normalize(path.join(this.currentDir, name));
236+
console.log("EN:", p);
232237
await this.list(p);
233238
} catch (error) {
234239
this.$message({ message: "错误,无法查看此目录或文件", type: "error" });

0 commit comments

Comments
 (0)