mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-23 14:59:42 +00:00
修复两卡片拖拽显示错误的问题
Signed-off-by: zhangchao <zhangchao338@huawei.com>
This commit is contained in:
parent
88aa27f9fb
commit
1aa2132712
@ -142,7 +142,7 @@ export default struct SwiperPage {
|
||||
.rowEnd(item.row + item.area[1] - 1)
|
||||
.columnEnd(item.column + item.area[0] - 1)
|
||||
}, (item) => {
|
||||
if (item.typeId == CommonConstants.TYPE_FOLDER) {
|
||||
if (item.typeId == CommonConstants.TYPE_FOLDER || item.typeId == CommonConstants.TYPE_CARD) {
|
||||
return JSON.stringify(item);
|
||||
} else {
|
||||
return `${item.typeId}${item.row}${item.column}`;
|
||||
|
Loading…
Reference in New Issue
Block a user