diff --git a/vue/afvue/src/views/Dashboard.vue b/vue/afvue/src/views/Dashboard.vue index c804f17..4263434 100644 --- a/vue/afvue/src/views/Dashboard.vue +++ b/vue/afvue/src/views/Dashboard.vue @@ -6,7 +6,7 @@ {{index+1}}、 {{ item.addr }} 服务器概况
- 文件浏览器 + 文件浏览器 代码对比
diff --git a/vue/afvue/src/views/Flist.vue b/vue/afvue/src/views/Flist.vue index cd0bb48..8e5b718 100644 --- a/vue/afvue/src/views/Flist.vue +++ b/vue/afvue/src/views/Flist.vue @@ -42,17 +42,21 @@ export default { dstip: '', flist: [], spath: '/', // 当前的目录 + sport: 9098, // 服务器运行端口 } }, mounted() { this.srcip = this.$route.query.srcip + this.sport = this.$route.query.sport this.getFlist() }, methods: { getFlist() { GetFileList({ srcip: this.srcip, - path: this.spath + path: this.spath, + sport: this.sport + }).then(res => { // console.log(res) this.flist = res.data.list