@flatbiz/pro-layout 5.0.24 → 5.0.26

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.
package/dist/index.js CHANGED
@@ -1827,7 +1827,7 @@ var DevFloatHelp = function DevFloatHelp(props) {
1827
1827
  setHidden = _useState2[1];
1828
1828
  var developmentEnvGuideConfigs = props.developmentEnvGuideConfigs;
1829
1829
  var operateList = [{
1830
- label: '测试',
1830
+ label: '测',
1831
1831
  onClick: function onClick() {
1832
1832
  if (developmentEnvGuideConfigs) {
1833
1833
  openNewWindow(developmentEnvGuideConfigs.inte);
@@ -1841,7 +1841,7 @@ var DevFloatHelp = function DevFloatHelp(props) {
1841
1841
  },
1842
1842
  active: currentEnv === 'inte'
1843
1843
  }, {
1844
- label: '预发',
1844
+ label: '预',
1845
1845
  onClick: function onClick() {
1846
1846
  if (developmentEnvGuideConfigs) {
1847
1847
  openNewWindow(developmentEnvGuideConfigs.rc);
@@ -1855,7 +1855,7 @@ var DevFloatHelp = function DevFloatHelp(props) {
1855
1855
  },
1856
1856
  active: currentEnv === 'rc'
1857
1857
  }, {
1858
- label: '生产',
1858
+ label: '生',
1859
1859
  onClick: function onClick() {
1860
1860
  if (developmentEnvGuideConfigs) {
1861
1861
  openNewWindow(developmentEnvGuideConfigs.prod);
@@ -1869,7 +1869,7 @@ var DevFloatHelp = function DevFloatHelp(props) {
1869
1869
  },
1870
1870
  active: currentEnv === 'prod'
1871
1871
  }, {
1872
- label: '开发 文档',
1872
+ label: '文档',
1873
1873
  onClick: function onClick() {
1874
1874
  openNewWindow('https://fex.qa.tcshuke.com/docs/admin/main/intro');
1875
1875
  },
@@ -1882,8 +1882,10 @@ var DevFloatHelp = function DevFloatHelp(props) {
1882
1882
  return null;
1883
1883
  }
1884
1884
  return /*#__PURE__*/jsxs(FloatButton.Group, {
1885
- shape: "square",
1886
- open: true,
1885
+ shape: "square"
1886
+ // trigger="click"
1887
+ // open={true}
1888
+ ,
1887
1889
  style: {
1888
1890
  bottom: 50,
1889
1891
  right: 2,
@@ -1894,13 +1896,19 @@ var DevFloatHelp = function DevFloatHelp(props) {
1894
1896
  return null;
1895
1897
  }
1896
1898
  return /*#__PURE__*/jsx(FloatButton, {
1897
- description: item.label,
1899
+ icon: /*#__PURE__*/jsx("span", {
1900
+ style: {
1901
+ fontSize: 14
1902
+ },
1903
+ children: item.label
1904
+ }),
1898
1905
  onClick: item.active ? undefined : item.onClick,
1899
1906
  style: {
1900
1907
  cursor: item.active ? 'default' : 'pointer'
1901
1908
  },
1902
1909
  type: item.active ? 'primary' : undefined,
1903
- className: item.active ? 'dev-float-help-active' : ''
1910
+ className: item.active ? 'dev-float-help-active' : '',
1911
+ children: /*#__PURE__*/jsx(Fragment, {})
1904
1912
  }, index);
1905
1913
  }), /*#__PURE__*/jsx(FloatButton, {
1906
1914
  icon: /*#__PURE__*/jsx(_CloseOutlined, {}),
@@ -3117,7 +3125,7 @@ var SiderBar = function SiderBar() {
3117
3125
  var getIframeTabUid = function getIframeTabUid(prefix) {
3118
3126
  var iframe = window.frameElement;
3119
3127
  // 获取 iframe 的 id 属性
3120
- var iframeId = iframe === null || iframe === void 0 ? void 0 : iframe.id;
3128
+ var iframeId = (iframe === null || iframe === void 0 ? void 0 : iframe.id) || getUuid();
3121
3129
  return "".concat(prefix, "_").concat(iframeId);
3122
3130
  };
3123
3131