@fle-ui/plus-im-record 0.0.2-beta.0 → 0.0.3-beta.1
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/es/GoodsCard/index.d.ts +1 -0
- package/es/GoodsCard/index.js +4 -2
- package/es/api/index.d.ts +1 -0
- package/es/index.d.ts +1 -1
- package/lib/GoodsCard/index.d.ts +1 -0
- package/lib/GoodsCard/index.js +4 -2
- package/lib/api/index.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/package.json +3 -2
package/es/GoodsCard/index.d.ts
CHANGED
package/es/GoodsCard/index.js
CHANGED
|
@@ -16,7 +16,8 @@ var OrderCard = function OrderCard(props) {
|
|
|
16
16
|
content = props.content;
|
|
17
17
|
var productId = content.productId,
|
|
18
18
|
relationId = content.relationId,
|
|
19
|
-
relationType = content.relationType
|
|
19
|
+
relationType = content.relationType,
|
|
20
|
+
orderProductId = content.orderProductId;
|
|
20
21
|
var _useState = useState({}),
|
|
21
22
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22
23
|
data = _useState2[0],
|
|
@@ -28,7 +29,8 @@ var OrderCard = function OrderCard(props) {
|
|
|
28
29
|
api.getProductById({
|
|
29
30
|
productId: productId,
|
|
30
31
|
relationId: relationId,
|
|
31
|
-
relationType: relationType
|
|
32
|
+
relationType: relationType,
|
|
33
|
+
orderProductId: orderProductId
|
|
32
34
|
}).then(function (_ref) {
|
|
33
35
|
var data = _ref.data;
|
|
34
36
|
setData(data || {});
|
package/es/api/index.d.ts
CHANGED
package/es/index.d.ts
CHANGED
package/lib/GoodsCard/index.d.ts
CHANGED
package/lib/GoodsCard/index.js
CHANGED
|
@@ -26,7 +26,8 @@ var OrderCard = function OrderCard(props) {
|
|
|
26
26
|
content = props.content;
|
|
27
27
|
var productId = content.productId,
|
|
28
28
|
relationId = content.relationId,
|
|
29
|
-
relationType = content.relationType
|
|
29
|
+
relationType = content.relationType,
|
|
30
|
+
orderProductId = content.orderProductId;
|
|
30
31
|
var _useState = (0, _react.useState)({}),
|
|
31
32
|
_useState2 = _slicedToArray(_useState, 2),
|
|
32
33
|
data = _useState2[0],
|
|
@@ -38,7 +39,8 @@ var OrderCard = function OrderCard(props) {
|
|
|
38
39
|
api.getProductById({
|
|
39
40
|
productId: productId,
|
|
40
41
|
relationId: relationId,
|
|
41
|
-
relationType: relationType
|
|
42
|
+
relationType: relationType,
|
|
43
|
+
orderProductId: orderProductId
|
|
42
44
|
}).then(function (_ref) {
|
|
43
45
|
var data = _ref.data;
|
|
44
46
|
setData(data || {});
|
package/lib/api/index.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fle-ui/plus-im-record",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-beta.1",
|
|
4
4
|
"description": "@fle-ui/plus-im-record",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fle-ui",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"authors": [],
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"publishConfig": {
|
|
36
|
+
"registry": "https://registry.npmjs.org/",
|
|
36
37
|
"access": "public"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"peerDependencies": {
|
|
45
46
|
"react": ">=17.0.0"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "248b489446cd151c29e22f8b66e1310ca514c733"
|
|
48
49
|
}
|