@hzab/list-render 1.10.15 → 1.10.16
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/CHANGELOG.md +5 -1
- package/package.json +3 -2
- package/src/list-render.jsx +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hzab/list-render",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "webpack serve -c ./config/webpack.config.js --env local",
|
|
8
8
|
"build": "webpack -c ./config/webpack.config.js --env production",
|
|
9
|
-
"
|
|
9
|
+
"release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha",
|
|
10
|
+
"release:beta": "npm version prerelease --preid=beta && npm publish --tag beta",
|
|
10
11
|
"publish-patch": "npm version patch && npm publish --access public",
|
|
11
12
|
"publish-minor": "npm version minor && npm publish --access public",
|
|
12
13
|
"publish-major": "npm version major && npm publish --access public"
|
package/src/list-render.jsx
CHANGED
|
@@ -384,7 +384,7 @@ const ListRender = forwardRef(function (props, parentRef) {
|
|
|
384
384
|
async function onEditSubmit(data, opt) {
|
|
385
385
|
let _data = data;
|
|
386
386
|
if (isPatchUpdate) {
|
|
387
|
-
if (model?.patchMap === "function") {
|
|
387
|
+
if (typeof model?.patchMap === "function") {
|
|
388
388
|
_data = model.patchMap(data, opt);
|
|
389
389
|
}
|
|
390
390
|
} else if (typeof model?.updateMap === "function") {
|