@kmkf-fe-packages/basic-components 2.9.1-beta.17 → 2.9.1-beta.20
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 +6 -8
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -15074,12 +15074,8 @@ var jstColumns = [{
|
|
|
15074
15074
|
title: '商品图片',
|
|
15075
15075
|
width: 100,
|
|
15076
15076
|
render: function render(picUrl) {
|
|
15077
|
-
return /*#__PURE__*/React.createElement(
|
|
15078
|
-
|
|
15079
|
-
width: '30px',
|
|
15080
|
-
height: '30px',
|
|
15081
|
-
objectFit: 'contain'
|
|
15082
|
-
},
|
|
15077
|
+
return /*#__PURE__*/React.createElement(ApaasImage, {
|
|
15078
|
+
width: 30,
|
|
15083
15079
|
src: picUrl
|
|
15084
15080
|
});
|
|
15085
15081
|
}
|
|
@@ -22152,7 +22148,8 @@ var getColumns$5 = function getColumns() {
|
|
|
22152
22148
|
min: 0,
|
|
22153
22149
|
precision: 2,
|
|
22154
22150
|
onChange: function onChange(num) {
|
|
22155
|
-
|
|
22151
|
+
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22152
|
+
if ((num || num === 0) && (record.qty || record.qty === 0)) updateHandle(num * (record.qty || 0), index, 'saleAmount');
|
|
22156
22153
|
}
|
|
22157
22154
|
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
22158
22155
|
}
|
|
@@ -22184,7 +22181,8 @@ var getColumns$5 = function getColumns() {
|
|
|
22184
22181
|
min: 1,
|
|
22185
22182
|
precision: 0,
|
|
22186
22183
|
onChange: function onChange(num) {
|
|
22187
|
-
|
|
22184
|
+
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22185
|
+
if ((num || num === 0) && (record.salePrice || record.salePrice === 0)) updateHandle(num * (record.salePrice || 0), index, 'saleAmount');
|
|
22188
22186
|
}
|
|
22189
22187
|
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
22190
22188
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.9.1-beta.
|
|
3
|
+
"version": "2.9.1-beta.20",
|
|
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": "1ad31320bdbe9819a59d6eef43ef9bdee92bfc97"
|
|
70
70
|
}
|