Browse Source

实现文本框调整

master
xyiege 5 months ago
parent
commit
39189ece3f
  1. 9
      vue/afvue/src/views/Flist.vue

9
vue/afvue/src/views/Flist.vue

@ -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()
}
}
}

Loading…
Cancel
Save