mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
91f4f508cc
commit
441c1ab03c
@ -87,7 +87,7 @@ FluScrollablePage{
|
|||||||
text:"删除"
|
text:"删除"
|
||||||
horizontalPadding: 6
|
horizontalPadding: 6
|
||||||
onClicked:{
|
onClicked:{
|
||||||
showError(JSON.stringify(dataObject))
|
table_view.remove(dataModel.index)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -138,6 +138,9 @@ Item {
|
|||||||
width: Math.max(layout_flickable.width,d.columnsWidth)
|
width: Math.max(layout_flickable.width,d.columnsWidth)
|
||||||
clip:true
|
clip:true
|
||||||
interactive: false
|
interactive: false
|
||||||
|
removeDisplaced: Transition {
|
||||||
|
NumberAnimation { properties: "x,y"; duration: 167 }
|
||||||
|
}
|
||||||
header: header_columns
|
header: header_columns
|
||||||
footer: Item{
|
footer: Item{
|
||||||
height: pageVisible ? 54 : 0
|
height: pageVisible ? 54 : 0
|
||||||
@ -287,4 +290,8 @@ Item {
|
|||||||
}
|
}
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
function remove(index){
|
||||||
|
model_data_source.remove(index)
|
||||||
|
console.debug(index)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user