1.制作可編輯的表格,想在單元格中,能夠在編輯狀態(tài)下,使用AotoComplete, 使用了表格的render方法,但是展示的時候,發(fā)現(xiàn)AotoComplete的下拉部分位置計算有問題,時而會遮擋文本框,時而完全脫離文本框2.} else if(item.type=='autocomplete-select') { return h('autocomplete-select', { props: { value: currentRow[item.key], url: item.url, style: `width:${item.width-20}` }, }); }3.嘗試測試各種不同情況,在表格外部也使用了該控件,發(fā)現(xiàn)表格外部沒有問題4.表格內(nèi)部的5.F12跟蹤界面,發(fā)現(xiàn)css中下拉部分position為fixed,但top:5px,這個計算是不是哪里有問題?另外是有封裝AotoComplete,但是應(yīng)該不會有影響,代碼如下:<template> <AutoComplete v-model="val" icon="ios-search" :data="data" :filter-method="filterMethod" @on-change="handleChange"> </AutoComplete></template>表格外部的
iview table render展示問題
四季花海
2019-03-15 13:14:53