|
|
|
@ -3,8 +3,8 @@ |
|
|
|
|
|
|
|
<div class="wfbox"> |
|
|
|
<div class="wfso"> |
|
|
|
<input class="wfinput" type="text" placeholder="请输入文件路径" v-model="spath"> |
|
|
|
<button class="wfbtn">GO</button> |
|
|
|
<input class="wfinput" type="text" ref="sokey" placeholder="请输入文件路径" v-model="spath"> |
|
|
|
<button class="wfbtn" @click="sofile()">GO</button> |
|
|
|
</div> |
|
|
|
<div class="fbox"> |
|
|
|
<div class="ftit"> |
|
|
|
@ -61,6 +61,11 @@ export default { |
|
|
|
// console.log(res) |
|
|
|
this.flist = res.data.list |
|
|
|
}) |
|
|
|
}, |
|
|
|
sofile(){ |
|
|
|
// alert("soobtn") |
|
|
|
this.spath = this.$refs.sokey.value |
|
|
|
this.getFlist() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|