zzz-pc-view 0.0.153 → 0.0.155

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
package/src/index.es.js CHANGED
@@ -6218,11 +6218,11 @@ class CurdHandler extends FilterHandler {
6218
6218
  saveEditorData(callback) {
6219
6219
  this.validEditorData().then(async () => {
6220
6220
  const editorData = this.editorData;
6221
- await this.saveEditorDataRequestUtil.requestData(
6221
+ const responseData = await this.saveEditorDataRequestUtil.requestData(
6222
6222
  this.api.save(editorData, this.editType.id)
6223
6223
  );
6224
6224
  this.loadList();
6225
- this.onSaveEditorDataSuccess(editorData);
6225
+ this.onSaveEditorDataSuccess(responseData ?? editorData);
6226
6226
  callback == null ? void 0 : callback(editorData);
6227
6227
  }).catch(() => {
6228
6228
  });