Merge branch 'sprint/235_liumengyi_731' into 'master'

* Fix issue #731.

See merge request easycorp/zentaopms!5248
This commit is contained in:
孙广明
2022-09-02 03:30:51 +00:00
+1 -1
View File
@@ -1928,7 +1928,7 @@ function initRegionTabs()
}
else if(acitiveItemWidth + acitiveItemLeft + distance + radiusWidth * 2 > regionTabsWidth && acitiveItemLeft != 0 && acitiveItemWidth != 0)
{
distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft - radiusWidth * 2;
distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft + (distance != 0 ? - radiusWidth * 2 : radiusWidth);
if($acitiveItem.next().length == 0)
{
distance = regionTabsWidth - acitiveItemWidth - acitiveItemLeft - radiusWidth * 2;