kmkf-work-order-service-component 0.0.1-alpha.26 → 0.0.1-alpha.27
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.
@@ -28,7 +28,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
28
|
* @Author: wangzhenggui jianjia.wzg@raycloud.com
|
29
29
|
* @Date: 2022-09-16 11:19:43
|
30
30
|
* @LastEditors: wangzhenggui jianjia.wzg@raycloud.com
|
31
|
-
* @LastEditTime: 2022-10-12 16:
|
31
|
+
* @LastEditTime: 2022-10-12 16:34:28
|
32
32
|
* @FilePath: /kmkf-work-order-service-component/src/WorkOrder/index.tsx
|
33
33
|
* @Description:
|
34
34
|
*
|
@@ -84,7 +84,7 @@ var WorkOrder = function WorkOrder(props) {
|
|
84
84
|
setTabActive = _useState2[1];
|
85
85
|
|
86
86
|
useEffect(function () {
|
87
|
-
if (
|
87
|
+
if (buyerId) {
|
88
88
|
dispatch({
|
89
89
|
type: 'workOrder/setIsBuyer',
|
90
90
|
payload: true
|
@@ -95,7 +95,7 @@ var WorkOrder = function WorkOrder(props) {
|
|
95
95
|
payload: false
|
96
96
|
});
|
97
97
|
}
|
98
|
-
}, [
|
98
|
+
}, [buyerId]);
|
99
99
|
useEffect(function () {
|
100
100
|
if (shopId != platformInfo.shopId) {
|
101
101
|
initHandle();
|