3 changed files with 49 additions and 1 deletions
@ -0,0 +1,34 @@ |
|||||
|
<template> |
||||
|
<div> |
||||
|
<h1>文件浏览器</h1> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'Flist', |
||||
|
data() { |
||||
|
return { |
||||
|
srcip: '', |
||||
|
dstip: '', |
||||
|
flist: [] |
||||
|
} |
||||
|
}, |
||||
|
mounted() { |
||||
|
this.srcip = this.$route.query.srcip |
||||
|
}, |
||||
|
methods: { |
||||
|
getFlist() { |
||||
|
this.$http.get('/api/flist?srcip='+this.srcip).then(res => { |
||||
|
this.flist = res.data |
||||
|
}) |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style scoped> |
||||
|
h1 { |
||||
|
color: #333; |
||||
|
} |
||||
|
</style> |
||||
Loading…
Reference in new issue