@yoooloo42/joker 1.0.274 → 1.0.275

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 CHANGED
@@ -23034,13 +23034,13 @@ const submitInsertOne = async _ref10 => {
23034
23034
  // 关闭表单窗口
23035
23035
  scopeThis.formProps.popup.visible = false;
23036
23036
  ElMessage('新增一条记录成功');
23037
- scopeThis.tableData.data = [result.dataNew];
23038
- scopeThis.tableData.total = 1;
23039
- scopeThis.tableData.currentPage = 1;
23040
23037
  scopeThis.query.formData = {
23041
- _id: result.dataNew._id
23038
+ _id: result._id
23042
23039
  };
23043
23040
  scopeThis.query.currentPage = 1;
23041
+ await refresh({
23042
+ scopeThis
23043
+ });
23044
23044
  } else {
23045
23045
  if (result.message) {
23046
23046
  ElMessage(result.message);