@zgfe/modules-event 0.1.7-heyh.2 → 0.1.7-heyh.3
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.
|
@@ -134,11 +134,11 @@ var TopBar = function TopBar(props) {
|
|
|
134
134
|
}, "\u6DFB\u52A0\u5230\u6570\u636E\u62A5\u544A")), showWarning && /*#__PURE__*/React.createElement(Button, {
|
|
135
135
|
className: "".concat(classPrefix, "-earlywarning"),
|
|
136
136
|
type: "primary",
|
|
137
|
-
disabled: loading,
|
|
137
|
+
disabled: loading || !authority[100141],
|
|
138
138
|
onClick: function onClick() {
|
|
139
139
|
return onLossWarning(warningId);
|
|
140
140
|
}
|
|
141
|
-
}, "\u8BBE\u7F6E\u9884\u8B66
|
|
141
|
+
}, "\u8BBE\u7F6E\u6D41\u5931\u9884\u8B66"), /*#__PURE__*/React.createElement("div", {
|
|
142
142
|
className: "".concat(classPrefix, "-platform")
|
|
143
143
|
}, platformOption.map(function (item) {
|
|
144
144
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -39,7 +39,7 @@ export default (function () {
|
|
|
39
39
|
console.log('查询参数改变了:', data);
|
|
40
40
|
};
|
|
41
41
|
var onLossWarning = function onLossWarning(warningId) {
|
|
42
|
-
console.log('
|
|
42
|
+
console.log('设置流失预警', warningId);
|
|
43
43
|
};
|
|
44
44
|
return /*#__PURE__*/React.createElement(DemoWrapper, {
|
|
45
45
|
needMeta: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-event",
|
|
3
|
-
"version": "0.1.7-heyh.
|
|
3
|
+
"version": "0.1.7-heyh.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "^16.12.0 || ^17.0.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "19a381129050e920c2f4996d1365e803617bdc35",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|