@kmkf-fe-packages/basic-components 2.6.1-beta.11 → 2.6.1-beta.12
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.esm.js +5 -10
- package/package.json +2 -2
- package/dist/index.js +0 -31652
package/dist/index.esm.js
CHANGED
|
@@ -13163,10 +13163,11 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13163
13163
|
onJumpPage = props.onJumpPage,
|
|
13164
13164
|
_props$showReason = props.showReason,
|
|
13165
13165
|
showReason = _props$showReason === void 0 ? false : _props$showReason;
|
|
13166
|
-
var _useState = useState(
|
|
13167
|
-
|
|
13168
|
-
|
|
13169
|
-
|
|
13166
|
+
var _useState = useState(function () {
|
|
13167
|
+
return (value === null || value === void 0 ? void 0 : value.interceptCompany) || undefined;
|
|
13168
|
+
}),
|
|
13169
|
+
_useState2 = _slicedToArray(_useState, 1),
|
|
13170
|
+
initCompany = _useState2[0];
|
|
13170
13171
|
var _useState3 = useState([]),
|
|
13171
13172
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
13172
13173
|
typeOptions = _useState4[0],
|
|
@@ -13179,13 +13180,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
13179
13180
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
13180
13181
|
isInterface = _useState8[0],
|
|
13181
13182
|
setIsInterface = _useState8[1];
|
|
13182
|
-
var firstIn = useRef(true);
|
|
13183
13183
|
useEffect(function () {
|
|
13184
|
-
//存入第一次的物流地址,防止非对接物流切换成对接物流后无法编辑
|
|
13185
|
-
if (firstIn.current && (value === null || value === void 0 ? void 0 : value.interceptCompany)) {
|
|
13186
|
-
setInitCompany(value === null || value === void 0 ? void 0 : value.interceptCompany);
|
|
13187
|
-
firstIn.current = false;
|
|
13188
|
-
}
|
|
13189
13184
|
if (!(value === null || value === void 0 ? void 0 : value.interceptCompany)) {
|
|
13190
13185
|
setTypeOptions([]);
|
|
13191
13186
|
setStatusOptions([]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.6.1-beta.
|
|
3
|
+
"version": "2.6.1-beta.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "bca0b110362cc087e771d06e8b2efce805b84075"
|
|
70
70
|
}
|