Commit 64d19b30 authored by 13841799530's avatar 13841799530

下拉回显bug

parent 7a15b5b0
......@@ -124,7 +124,6 @@ export default {
init(){
getFun('check/dept/tree').then((Response)=>{
this.columns=Response.data
console.log(this.columns)
})
},
/* 下拉框文本溢出动画效果 */
......@@ -147,7 +146,6 @@ export default {
},
/* 问题提交 */
onSubmit(value){
console.log(value)
var pictures=[];
value.uploader.forEach((item) => {
pictures.push(item.content)
......@@ -203,15 +201,12 @@ export default {
//获取回显的部门值和部门id数组
this.value=""
this.ids=[]
var valueList=this.$refs.apicker.getIndexes()
var valueList=this.$refs.apicker.getValues()
valueList.forEach((item)=>{
console.log(item)
this.ids.push(item.id)
this.value+=item.text
this.value+=item.text+' / '
})
console.log(this.ids)
console.log(this.value)
// this.value = v
// this.valueId=v.value
this.showPicker = false;
}
}
......
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