@kmkf-fe-packages/kmkf-work-order-service-component 2.2.5-beta.24 → 2.2.5-beta.25
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.
|
@@ -141,7 +141,7 @@ var ShareLinkModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
141
141
|
}, "\u590D\u5236")), info.platform === 'pc' && /*#__PURE__*/React.createElement(Button, {
|
|
142
142
|
type: "primary",
|
|
143
143
|
onClick: function onClick() {
|
|
144
|
-
window.open(shortUrl);
|
|
144
|
+
window.open("https://".concat(shortUrl));
|
|
145
145
|
}
|
|
146
146
|
}, "\u6253\u5F00"))), /*#__PURE__*/React.createElement(Text, null, shortUrl))), /*#__PURE__*/React.createElement("li", {
|
|
147
147
|
className: styles.shareLi
|
|
@@ -1124,13 +1124,12 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1124
1124
|
}, [flowTemplateKey, flowWorkOrderIdState]);
|
|
1125
1125
|
useEffect(function () {
|
|
1126
1126
|
var _currentNodeDetail$no12;
|
|
1127
|
-
if (flowTemplateKey && !!(currentNodeDetail !== null && currentNodeDetail !== void 0 && (_currentNodeDetail$no12 = currentNodeDetail.nodeInfo) !== null && _currentNodeDetail$no12 !== void 0 && _currentNodeDetail$no12.id) && !privilege) {
|
|
1127
|
+
if (flowTemplateKey && !!(currentNodeDetail !== null && currentNodeDetail !== void 0 && (_currentNodeDetail$no12 = currentNodeDetail.nodeInfo) !== null && _currentNodeDetail$no12 !== void 0 && _currentNodeDetail$no12.id) && !privilege && !!plat.companyKey) {
|
|
1128
1128
|
var _currentNodeDetail$no13;
|
|
1129
1129
|
dispatch(fetchShareNodeConfig({
|
|
1130
1130
|
companyKey: plat.companyKey,
|
|
1131
1131
|
flowTemplateKey: flowTemplateKey,
|
|
1132
|
-
flowNodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no13 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no13 === void 0 ? void 0 : _currentNodeDetail$no13.id
|
|
1133
|
-
userKey: plat.userKey
|
|
1132
|
+
flowNodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no13 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no13 === void 0 ? void 0 : _currentNodeDetail$no13.id
|
|
1134
1133
|
}));
|
|
1135
1134
|
dispatch(fetchH5SharePermission());
|
|
1136
1135
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.2.5-beta.
|
|
3
|
+
"version": "2.2.5-beta.25",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "2.2.5-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.5-beta.25",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "2.2.5-beta.24",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.5-beta.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.5-beta.25",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "b32079adba4b6bbd9e1b9ed355162e72e85170e4",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|