diff --git a/dist/bundle.js b/dist/bundle.js index c6284eb38..75d42414a 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -81907,6 +81907,7 @@ BI.SortList = BI.inherit(BI.Widget, { var holder = BI.createWidget({ type: "bi.layout", cls: "bi-sortable-holder", + width: $currentItem.width() - 2, height: $currentItem.outerHeight() }); holder.element.css({ @@ -82013,7 +82014,8 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.sort_list", BI.SortList);/** +BI.shortcut("bi.sort_list", BI.SortList); +/** * 有总页数和总行数的分页控件 * Created by Young's on 2016/10/13. */ diff --git a/dist/case.js b/dist/case.js index c76f3a541..7f83d4783 100644 --- a/dist/case.js +++ b/dist/case.js @@ -9451,6 +9451,7 @@ BI.SortList = BI.inherit(BI.Widget, { var holder = BI.createWidget({ type: "bi.layout", cls: "bi-sortable-holder", + width: $currentItem.width() - 2, height: $currentItem.outerHeight() }); holder.element.css({ @@ -9557,7 +9558,8 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.sort_list", BI.SortList);/** +BI.shortcut("bi.sort_list", BI.SortList); +/** * 有总页数和总行数的分页控件 * Created by Young's on 2016/10/13. */ diff --git a/dist/fineui.js b/dist/fineui.js index 0fb9cf8c6..5f2e20204 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -82150,6 +82150,7 @@ BI.SortList = BI.inherit(BI.Widget, { var holder = BI.createWidget({ type: "bi.layout", cls: "bi-sortable-holder", + width: $currentItem.width() - 2, height: $currentItem.outerHeight() }); holder.element.css({ @@ -82256,7 +82257,8 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.sort_list", BI.SortList);/** +BI.shortcut("bi.sort_list", BI.SortList); +/** * 有总页数和总行数的分页控件 * Created by Young's on 2016/10/13. */ diff --git a/src/case/loader/sort.list.js b/src/case/loader/sort.list.js index cc28610db..6878981f9 100644 --- a/src/case/loader/sort.list.js +++ b/src/case/loader/sort.list.js @@ -67,6 +67,7 @@ BI.SortList = BI.inherit(BI.Widget, { var holder = BI.createWidget({ type: "bi.layout", cls: "bi-sortable-holder", + width: $currentItem.width() - 2, height: $currentItem.outerHeight() }); holder.element.css({ @@ -173,4 +174,4 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.sort_list", BI.SortList); \ No newline at end of file +BI.shortcut("bi.sort_list", BI.SortList);