Commit 9934e2a8 authored by 李苏's avatar 李苏 💬

修复edit显示bug

parent 5fc4dfc7
...@@ -45,9 +45,13 @@ ...@@ -45,9 +45,13 @@
}, },
watch:{ watch:{
flid(val){ flid(val){
console.log('查询详细')
queryFlnr({flid:val}).then(res=>{ queryFlnr({flid:val}).then(res=>{
if(res.data&&res.data.records){ if(res.data&&res.data.records){
this.form.content='' if(this.type=='add'){
this.form.content=''
}
this.optionsData=res.data.records||[] this.optionsData=res.data.records||[]
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment