@plasmicpkgs/antd 0.0.71 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1718,13 +1718,13 @@ function AddTab(_ref) {
|
|
|
1718
1718
|
|
|
1719
1719
|
var appendNewTab = function appendNewTab(tabKey) {
|
|
1720
1720
|
if (tabKey !== "") {
|
|
1721
|
-
studioOps.
|
|
1721
|
+
studioOps.appendToSlot({
|
|
1722
1722
|
type: "component",
|
|
1723
1723
|
name: "AntdTabPane",
|
|
1724
1724
|
props: {
|
|
1725
1725
|
key: tabKey
|
|
1726
1726
|
}
|
|
1727
|
-
});
|
|
1727
|
+
}, "children");
|
|
1728
1728
|
}
|
|
1729
1729
|
};
|
|
1730
1730
|
|
|
@@ -1875,7 +1875,7 @@ var tabsMeta = {
|
|
|
1875
1875
|
});
|
|
1876
1876
|
|
|
1877
1877
|
if (currentTabPos !== -1) {
|
|
1878
|
-
studioOps.
|
|
1878
|
+
studioOps.removeFromSlotAt(currentTabPos, "children");
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
1881
|
}
|